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.001936/0.001936, allocations: 88.72 kB / 19.44 MB, free: 356 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.002336/0.002336, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 1.328/1.328, allocations: 154.6 MB / 414.1 MB, free: 0.6211 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 178] 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 2.474e-06/2.474e-06, allocations: 0 / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.284e-05, allocations: 4.422 kB / 0.5197 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002266/0.002299, allocations: 0.8418 MB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.004362, allocations: 1.198 MB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.004441, allocations: 0 / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.004485, allocations: 13.28 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.00461, allocations: 15.8 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.005221, allocations: 156.7 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.005508, allocations: 167.6 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.005646, allocations: 30.09 kB / 0.522 GB, free: 56 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.005849, allocations: 87.86 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005977, allocations: 61.12 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.006016, allocations: 12 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.006102, allocations: 27.98 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.006146, allocations: 27.91 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.006238, allocations: 49.23 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.006567, allocations: 191.4 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00657, allocations: 4 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00657, allocations: 0.7812 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.006576, allocations: 0 / 0.5225 GB, free: 15.61 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.0008879/0.007463, allocations: 407.9 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.007517, allocations: 16.02 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.007609, allocations: 24.84 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.008206, allocations: 193.9 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.008229, allocations: 8.375 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.008284, allocations: 20.36 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.00857, allocations: 85.09 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.00858, allocations: 192 / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.008599, allocations: 8.359 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.008607, allocations: 4.125 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.008807, allocations: 49.89 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.009593, allocations: 304.2 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.009743, allocations: 43.48 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.009839, allocations: 21.34 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.009862, allocations: 0.9375 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.01015, allocations: 104.6 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.01016, allocations: 4 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0005221/0.01068, allocations: 135.8 kB / 0.5239 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.01073, allocations: 55.41 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.0109, allocations: 145.8 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.01094, allocations: 33.64 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.01105, allocations: 109.9 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.01108, allocations: 27.75 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01118, allocations: 53.64 kB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.01139, allocations: 326.8 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.0116, allocations: 79.22 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.01188, allocations: 160.8 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.01228, allocations: 204.8 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01228, allocations: 2.906 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006537/0.01293, allocations: 291.4 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.01298, allocations: 33.7 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01299, allocations: 0 / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.01301, allocations: 4 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01315, allocations: 31.97 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.01316, allocations: 7.938 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.01342, allocations: 37.77 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.01345, allocations: 15.98 kB / 0.5254 GB, free: 12.34 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 0.000143/0.01359, allocations: 130.4 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.01362, allocations: 13.45 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.01366, allocations: 16.77 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01367, allocations: 4 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01367, allocations: 3.938 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01367, allocations: 1.344 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.01431, allocations: 330 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01431, allocations: 0.625 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.01441, allocations: 16.83 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01441, allocations: 0 / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01442, allocations: 5.641 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01443, allocations: 4 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01443, allocations: 0 / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.01493, allocations: 246.2 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.01496, allocations: 11.98 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01498, allocations: 4 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.01508, allocations: 8 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.01512, allocations: 3.984 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01514, allocations: 14.52 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.703e-05/0.01524, allocations: 113.4 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01524, allocations: 0 / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003206/0.01556, allocations: 31.94 kB / 0.5263 GB, free: 11.35 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.0001925/0.01575, allocations: 111.2 kB / 0.5264 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.01622, allocations: 193.5 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.01623, allocations: 4 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.01636, allocations: 35.91 kB / 0.5266 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.0167, allocations: 31.36 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.01734, allocations: 244.6 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.01745, allocations: 97.73 kB / 0.527 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.718e-05/0.01752, allocations: 15.95 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.01756, allocations: 16.5 kB / 0.527 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01756, allocations: 0 / 0.527 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.005871/0.02343, allocations: 1.758 MB / 0.5288 GB, free: 8.93 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.000504010007717]