Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001538/0.001538, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001808/0.001808, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.79/0.79, allocations: 154.8 MB / 415.1 MB, free: 492 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 4 kB / 0.5206 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.068e-05, allocations: 4 kB / 0.5206 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00158/0.001611, allocations: 0.8564 MB / 0.5215 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.00294, allocations: 1.225 MB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.003007, allocations: 0 / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.003044, allocations: 11.86 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.003128, allocations: 25.58 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.003591, allocations: 143.7 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.003777, allocations: 169.4 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.003902, allocations: 29.22 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.00404, allocations: 91.84 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.004132, allocations: 59.58 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.004156, allocations: 12 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.004219, allocations: 29.48 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.004249, allocations: 31.77 kB / 0.5233 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.00431, allocations: 47.89 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004492, allocations: 135.6 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004494, allocations: 0.75 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004495, allocations: 0 / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.004499, allocations: 1.469 kB / 0.5234 GB, free: 15.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005526/0.005052, allocations: 0.5086 MB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.005089, allocations: 12.03 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.005153, allocations: 22.23 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.005459, allocations: 180.5 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.005475, allocations: 13.38 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.005503, allocations: 12.38 kB / 0.5242 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.00565, allocations: 96 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005657, allocations: 192 / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005668, allocations: 4.375 kB / 0.5243 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.005676, allocations: 4.125 kB / 0.5243 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.00572, allocations: 19.98 kB / 0.5243 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.006232, allocations: 363.4 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.006288, allocations: 31.62 kB / 0.5247 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.006316, allocations: 16.23 kB / 0.5247 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.006334, allocations: 4.125 kB / 0.5247 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.006447, allocations: 81.81 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.006448, allocations: 0.5 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001977/0.006646, allocations: 103.1 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.006683, allocations: 51.41 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.006786, allocations: 203.5 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.006809, allocations: 29.7 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.006893, allocations: 163.6 kB / 0.5253 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.006915, allocations: 31.73 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.006974, allocations: 52.77 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.007101, allocations: 0.4961 MB / 0.5258 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.007185, allocations: 61.67 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.007303, allocations: 191.8 kB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.007458, allocations: 211.6 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00746, allocations: 0 / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003014/0.007762, allocations: 251.4 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.007807, allocations: 37.69 kB / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.007818, allocations: 4 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.007835, allocations: 4 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.007915, allocations: 23.92 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.007923, allocations: 4.531 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.008017, allocations: 33.25 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.008035, allocations: 11.98 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 8.884e-05/0.008124, allocations: 177 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.008142, allocations: 20.48 kB / 0.5268 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.008172, allocations: 18.52 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.008175, allocations: 4 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008179, allocations: 0 / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008183, allocations: 0 / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.008494, allocations: 369.2 kB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008496, allocations: 2.438 kB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.008541, allocations: 8 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.008543, allocations: 0 / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.008554, allocations: 8 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008556, allocations: 3.938 kB / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.008558, allocations: 3.984 kB / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.008755, allocations: 250.2 kB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.008769, allocations: 11.91 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.008789, allocations: 3.984 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.008852, allocations: 8 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.008893, allocations: 3.984 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.008903, allocations: 7.938 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.008966, allocations: 153.6 kB / 0.5276 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008966, allocations: 0 / 0.5276 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002923/0.009258, allocations: 31.94 kB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.009413, allocations: 104.2 kB / 0.5278 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.009643, allocations: 183.1 kB / 0.5279 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009644, allocations: 0 / 0.5279 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.009687, allocations: 36.11 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.009896, allocations: 30.5 kB / 0.528 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.01033, allocations: 250.4 kB / 0.5282 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.01038, allocations: 71.78 kB / 0.5283 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.01043, allocations: 15.8 kB / 0.5283 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.01046, allocations: 16.5 kB / 0.5283 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/0.01046, allocations: 1.562 kB / 0.5284 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of Templates: time 0.004047/0.01451, allocations: 1.748 MB / 0.5301 GB, free: 8.207 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9421754009090364]