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.001019/0.001019, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001061/0.001061, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.936/0.936, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7886/0.7886, allocations: 154.9 MB / 415.9 MB, free: 256 kB / 378.7 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 179] 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 1.513e-06/1.513e-06, allocations: 0 / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.897e-05, allocations: 5.703 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.00125/0.001269, allocations: 0.7309 MB / 0.5226 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.002482, allocations: 1.197 MB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.002527, allocations: 4 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.002552, allocations: 8.891 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.002622, allocations: 8.641 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.002968, allocations: 136.6 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.003094, allocations: 112.3 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.003168, allocations: 16.89 kB / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.003263, allocations: 63.89 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.003332, allocations: 41.67 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.003352, allocations: 12 kB / 0.5242 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.003402, allocations: 23.94 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.003422, allocations: 15.92 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.003461, allocations: 39.89 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003586, allocations: 88.38 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003588, allocations: 0 / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003589, allocations: 0.5 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.003592, allocations: 1.031 kB / 0.5243 GB, free: 15.06 MB / 0.4948 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.0003735/0.003965, allocations: 426.1 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.003997, allocations: 13.25 kB / 0.5248 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.004034, allocations: 12.89 kB / 0.5248 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/0.004108, allocations: 128.4 kB / 0.5249 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.004121, allocations: 5 kB / 0.5249 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.004176, allocations: 8.359 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.004272, allocations: 64.44 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004278, allocations: 192 / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.004285, allocations: 384 / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004291, allocations: 4.375 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.004313, allocations: 8.781 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.004609, allocations: 293.3 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.004693, allocations: 47.11 kB / 0.5253 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.004716, allocations: 24.78 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-06/0.004722, allocations: 0 / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.657e-05/0.004808, allocations: 78.03 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.004809, allocations: 0 / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001557/0.004965, allocations: 93.56 kB / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.004996, allocations: 55.95 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.005067, allocations: 174.6 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.005086, allocations: 33.7 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.005141, allocations: 143.5 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.00516, allocations: 19.89 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.005208, allocations: 40.22 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.005318, allocations: 0.4961 MB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.005368, allocations: 56.55 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.005435, allocations: 107.8 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.005521, allocations: 116.3 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005523, allocations: 3.938 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001791/0.005702, allocations: 198 kB / 0.5269 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.005726, allocations: 37.7 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005731, allocations: 4.5 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.00574, allocations: 4.562 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.005792, allocations: 12.92 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005795, allocations: 0 / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.005874, allocations: 21.42 kB / 0.527 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.005889, allocations: 11.98 kB / 0.527 GB, free: 12.09 MB / 0.4948 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 7.052e-05/0.00596, allocations: 169.9 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.00597, allocations: 7.953 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.005991, allocations: 16.38 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.005994, allocations: 3.984 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.005997, allocations: 4.625 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006, allocations: 0 / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.006203, allocations: 319.2 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006204, allocations: 0 / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.006226, allocations: 4 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.006229, allocations: 10.67 kB / 0.5275 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006234, allocations: 4 kB / 0.5275 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006235, allocations: 0 / 0.5275 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006236, allocations: 0 / 0.5275 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.006335, allocations: 223.9 kB / 0.5277 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.006344, allocations: 7.953 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.006356, allocations: 3.938 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.006393, allocations: 10.41 kB / 0.5277 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.006418, allocations: 3.984 kB / 0.5277 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006424, allocations: 8 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.006461, allocations: 135.2 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006461, allocations: 0 / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001618/0.006623, allocations: 20 kB / 0.5279 GB, free: 11.11 MB / 0.4948 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 8.77e-05/0.006711, allocations: 104.9 kB / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.006852, allocations: 156.6 kB / 0.5281 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.006853, allocations: 0.6562 kB / 0.5281 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.00688, allocations: 31.09 kB / 0.5282 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.007053, allocations: 19.92 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.007264, allocations: 170.6 kB / 0.5283 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.007295, allocations: 59.38 kB / 0.5284 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.007317, allocations: 7.984 kB / 0.5284 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.007394, allocations: 92.94 kB / 0.5285 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.007395, allocations: 0 / 0.5285 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.002844/0.01024, allocations: 1.75 MB / 0.5302 GB, free: 8.746 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6324105132371187]