Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008297/0.0008297, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001174/0.001174, allocations: 173 kB / 23.5 MB, free: 1.051 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.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7782/0.7782, allocations: 154.6 MB / 414.9 MB, free: 0.707 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 4 kB / 0.5204 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.873e-05, allocations: 6.25 kB / 0.5204 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001667/0.001686, allocations: 0.8466 MB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002909, allocations: 1.229 MB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.002974, allocations: 1.438 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.003006, allocations: 11.86 kB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.003083, allocations: 19.8 kB / 0.5225 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.003507, allocations: 148.7 kB / 0.5226 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.003686, allocations: 167.6 kB / 0.5228 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.003801, allocations: 29.95 kB / 0.5228 GB, free: 52 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.00394, allocations: 91.86 kB / 0.5229 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.004029, allocations: 61.06 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.004054, allocations: 12 kB / 0.523 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.004123, allocations: 39.86 kB / 0.523 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.004152, allocations: 20.42 kB / 0.523 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.004208, allocations: 48.98 kB / 0.5231 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.00439, allocations: 131.6 kB / 0.5232 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004393, allocations: 4 kB / 0.5232 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004394, allocations: 0.5625 kB / 0.5232 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004398, allocations: 0 / 0.5232 GB, free: 15.65 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.0005485/0.004946, allocations: 0.5106 MB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.004985, allocations: 16.02 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.005043, allocations: 16.89 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.005338, allocations: 183.7 kB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.005352, allocations: 8.375 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.00538, allocations: 12.38 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.005525, allocations: 88.33 kB / 0.524 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005532, allocations: 192 / 0.524 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.005547, allocations: 12.36 kB / 0.524 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.005556, allocations: 4.125 kB / 0.524 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.005593, allocations: 18.78 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.006109, allocations: 372.9 kB / 0.5244 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.006162, allocations: 35.05 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.006185, allocations: 11.69 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.006202, allocations: 0.5 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.00631, allocations: 90.11 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.006312, allocations: 0 / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001954/0.006507, allocations: 98.69 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.006543, allocations: 51.41 kB / 0.5247 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.006657, allocations: 204 kB / 0.5249 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.006678, allocations: 34.33 kB / 0.5249 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.00675, allocations: 158.7 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.006771, allocations: 33.28 kB / 0.5251 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.006834, allocations: 51.34 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.006956, allocations: 0.5 MB / 0.5256 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.007035, allocations: 61.67 kB / 0.5257 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.007158, allocations: 191.3 kB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.007324, allocations: 210.3 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007327, allocations: 0 / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002598/0.007586, allocations: 246.5 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.007615, allocations: 37.7 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007621, allocations: 4 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007634, allocations: 5.031 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.007702, allocations: 23.92 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.007711, allocations: 8.922 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.007808, allocations: 27.94 kB / 0.5264 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.007828, allocations: 15.25 kB / 0.5264 GB, free: 12.02 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 9.082e-05/0.007919, allocations: 180.4 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.007934, allocations: 11.95 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.007961, allocations: 12.78 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.007964, allocations: 4 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.007969, allocations: 0 / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.007975, allocations: 3.984 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.008299, allocations: 372.6 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0083, allocations: 0 / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.008346, allocations: 15.92 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008348, allocations: 0 / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.008361, allocations: 11.94 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.008363, allocations: 0 / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008364, allocations: 0 / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.008544, allocations: 257.3 kB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.008556, allocations: 15.91 kB / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.008568, allocations: 0 / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.008608, allocations: 7.984 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.008647, allocations: 11.98 kB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.008655, allocations: 5.219 kB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.00871, allocations: 143.2 kB / 0.5274 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00871, allocations: 0 / 0.5274 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002111/0.008921, allocations: 36.48 kB / 0.5274 GB, free: 10.88 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.0001056/0.009027, allocations: 99.97 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.009232, allocations: 186.5 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009233, allocations: 0.9688 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.009272, allocations: 27.67 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.009468, allocations: 21.17 kB / 0.5278 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.01014, allocations: 247.9 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.01018, allocations: 75.77 kB / 0.5281 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.01022, allocations: 17.92 kB / 0.5281 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.01025, allocations: 20.5 kB / 0.5281 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01025, allocations: 0 / 0.5281 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.003683/0.01393, allocations: 1.749 MB / 0.5298 GB, free: 8.508 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8437348939478397]