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.002413/0.002413, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001947/0.001947, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 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 1.644/1.644, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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-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 1.361/1.361, allocations: 154.8 MB / 414.4 MB, free: 464 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 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 1.723e-06/1.723e-06, allocations: 0 / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.63e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002045/0.002081, allocations: 0.7366 MB / 0.5206 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003812, allocations: 1.175 MB / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.003857, allocations: 0 / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.003883, allocations: 4.938 kB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.003963, allocations: 11.86 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.004439, allocations: 128.5 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.004641, allocations: 124.6 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.004727, allocations: 12 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.004866, allocations: 68.72 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.004991, allocations: 36 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.005023, allocations: 8.562 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.005096, allocations: 19.98 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.005121, allocations: 16.36 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.005189, allocations: 32.8 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.005423, allocations: 135.6 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005426, allocations: 1.219 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005427, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005431, allocations: 0 / 0.5223 GB, free: 15.79 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.000664/0.006095, allocations: 434.3 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.006132, allocations: 12.03 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.006195, allocations: 14.66 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.006322, allocations: 119.6 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.00634, allocations: 4.375 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.006363, allocations: 8.375 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.006536, allocations: 63.89 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.006545, allocations: 192 / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.006559, allocations: 4.359 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.006563, allocations: 384 / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.0067, allocations: 37.45 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.007242, allocations: 315.7 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.007424, allocations: 63.03 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.00751, allocations: 32.55 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.007524, allocations: 1.469 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.007719, allocations: 92.97 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.007721, allocations: 0 / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004181/0.008139, allocations: 130.9 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.008189, allocations: 55.41 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.008357, allocations: 186.7 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.008391, allocations: 29.7 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.008722, allocations: 146 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.008755, allocations: 23.83 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.008861, allocations: 47.36 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002707/0.009132, allocations: 0.4923 MB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.009307, allocations: 81.67 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.009523, allocations: 132.1 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.009811, allocations: 157.4 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009813, allocations: 0.6875 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004924/0.01031, allocations: 251 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.01036, allocations: 41.62 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01036, allocations: 0 / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01038, allocations: 4 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.01046, allocations: 12.78 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01047, allocations: 0 / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.01064, allocations: 29.09 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.01067, allocations: 8 kB / 0.5252 GB, free: 12.54 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 0.0001526/0.01082, allocations: 171.4 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.01084, allocations: 15.89 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.01087, allocations: 4.438 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01087, allocations: 4 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01088, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01088, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.01137, allocations: 380 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01138, allocations: 0 / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.01142, allocations: 12.05 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01142, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.01143, allocations: 4 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01144, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.01144, allocations: 7.922 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.01178, allocations: 252.6 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.01179, allocations: 5.016 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01181, allocations: 7.984 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.01188, allocations: 4 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.01193, allocations: 8.797 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01194, allocations: 4 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.437e-05/0.01203, allocations: 136.7 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01203, allocations: 0 / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002596/0.01229, allocations: 24 kB / 0.5262 GB, free: 11.45 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 0.0001547/0.01245, allocations: 101.6 kB / 0.5263 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.01288, allocations: 220.7 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01288, allocations: 3.938 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.013, allocations: 42.36 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01327, allocations: 15.92 kB / 0.5266 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.01367, allocations: 170.8 kB / 0.5267 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.876e-05/0.01375, allocations: 70.16 kB / 0.5268 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.01378, allocations: 7.984 kB / 0.5268 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.01381, allocations: 12.5 kB / 0.5268 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01381, allocations: 4 kB / 0.5268 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.004986/0.0188, allocations: 1.575 MB / 0.5284 GB, free: 9.262 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: 6.221584611921571]