Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 78.73 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 161.3 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.332/1.332, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 7.875 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.529e-05/4.874e-05, allocations: 3.5 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002341/0.00239, allocations: 0.7215 MB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.004367, allocations: 1.166 MB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.00444, allocations: 7.938 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.004475, allocations: 3.938 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.004576, allocations: 7.938 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.00523, allocations: 142.2 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.005439, allocations: 115.8 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005548, allocations: 15.98 kB / 0.6207 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.005712, allocations: 67.88 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.005822, allocations: 31.94 kB / 0.6208 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.005857, allocations: 15.94 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.005943, allocations: 23.98 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.005967, allocations: 8 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.006054, allocations: 39.89 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.006297, allocations: 127.7 kB / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.0063, allocations: 0 / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006301, allocations: 0 / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.006307, allocations: 3.938 kB / 0.621 GB, free: 2.145 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007587/0.007065, allocations: 347.7 kB / 0.6213 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.00711, allocations: 13.47 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.007176, allocations: 4.938 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.007309, allocations: 113.7 kB / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.007346, allocations: 8.312 kB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.007375, allocations: 8.375 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.007609, allocations: 66.2 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.007622, allocations: 4.188 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.007635, allocations: 4.375 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007642, allocations: 4.375 kB / 0.6215 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.007854, allocations: 43.89 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.008417, allocations: 264.4 kB / 0.6218 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.008617, allocations: 50.62 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.008731, allocations: 32.95 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.008748, allocations: 4 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.009034, allocations: 95.3 kB / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.009036, allocations: 0 / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005333/0.009569, allocations: 137.5 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.009633, allocations: 55.41 kB / 0.6222 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.009758, allocations: 121.8 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.009804, allocations: 33.7 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.009885, allocations: 96.2 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.009912, allocations: 19.84 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.009999, allocations: 37.7 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01018, allocations: 318.8 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.01039, allocations: 81.67 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.01064, allocations: 121.9 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.01095, allocations: 145.8 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01096, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005427/0.0115, allocations: 232.9 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.01156, allocations: 45.62 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.01157, allocations: 4 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01159, allocations: 4.125 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01169, allocations: 15.92 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.0117, allocations: 0 / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.01192, allocations: 35.91 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.01194, allocations: 11.98 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.01209, allocations: 118.8 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.01211, allocations: 11.89 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.01216, allocations: 12.44 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01217, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.01218, allocations: 4 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01218, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.01273, allocations: 314.1 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01273, allocations: 0 / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.0128, allocations: 11.98 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0128, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.01281, allocations: 8 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01282, allocations: 0 / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.01282, allocations: 7.922 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.0132, allocations: 215.8 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.01322, allocations: 7.953 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.01324, allocations: 4 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.01333, allocations: 7.984 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.01338, allocations: 4 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01339, allocations: 7.984 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.01347, allocations: 98.61 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01347, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002799/0.01375, allocations: 27.94 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.01394, allocations: 99.23 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.01443, allocations: 193 kB / 0.6245 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01443, allocations: 7.875 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.01457, allocations: 44.28 kB / 0.6246 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01487, allocations: 17.95 kB / 0.6246 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.01532, allocations: 157.5 kB / 0.6247 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.01542, allocations: 75.33 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.01546, allocations: 4 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.01549, allocations: 16.5 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.01549, allocations: 0 / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of Templates: time 0.005474/0.02097, allocations: 1.55 MB / 0.6264 GB, free: 12.28 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.223969332873821] Failed to read output from testmodel.py, exit status != 0: 0.030674662441015244 0.046809318 0.037204182 Calling exit ...