Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.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.001895/0.001895, allocations: 81.5 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.00222/0.00222, allocations: 173.6 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.323/1.323, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.669e-05, allocations: 3.312 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003899/0.003936, allocations: 1.803 MB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.005171, allocations: 0.5591 MB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.005288, allocations: 7.938 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.00545, allocations: 23.78 kB / 0.522 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/0.005541, allocations: 28.97 kB / 0.522 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.005803, allocations: 67.91 kB / 0.5221 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.006107, allocations: 168.9 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.006264, allocations: 37.72 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.006429, allocations: 83.73 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.006526, allocations: 47.81 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.006564, allocations: 10.53 kB / 0.5224 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.854e-05/0.006592, allocations: 12 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.006637, allocations: 27.84 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.006725, allocations: 35.92 kB / 0.5225 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.006981, allocations: 135.4 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.006986, allocations: 0 / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.041e-06/0.006987, allocations: 0 / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.006994, allocations: 0.5625 kB / 0.5226 GB, free: 15.53 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008992/0.007893, allocations: 0.5352 MB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.007931, allocations: 8.031 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.008007, allocations: 32.78 kB / 0.5232 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.008312, allocations: 181.8 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.008327, allocations: 5.312 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.008362, allocations: 16.31 kB / 0.5234 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.008693, allocations: 161.5 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.008704, allocations: 192 / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.008731, allocations: 12.36 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.008739, allocations: 3.938 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.008929, allocations: 61.06 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.01031, allocations: 0.9138 MB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.01045, allocations: 52.33 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.01054, allocations: 31.67 kB / 0.5246 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.01057, allocations: 1.062 kB / 0.5246 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.01082, allocations: 135.7 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.01083, allocations: 3.25 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0004701/0.0113, allocations: 149.5 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.01141, allocations: 144.3 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.0117, allocations: 263.5 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01173, allocations: 33.7 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.01188, allocations: 178.7 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.01193, allocations: 46.77 kB / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.01201, allocations: 51.36 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.0123, allocations: 0.504 MB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.0124, allocations: 31.98 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.01265, allocations: 186.6 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.01303, allocations: 247.3 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.01303, allocations: 2.438 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003907/0.01342, allocations: 203.1 kB / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.01344, allocations: 8 kB / 0.5267 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.01346, allocations: 5.031 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01348, allocations: 4 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.0136, allocations: 32.86 kB / 0.5267 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.01362, allocations: 15.92 kB / 0.5267 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01374, allocations: 21.7 kB / 0.5267 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01376, allocations: 8 kB / 0.5267 GB, free: 10.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001721/0.01393, allocations: 184.5 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.01397, allocations: 23.84 kB / 0.5269 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.01401, allocations: 18.75 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01402, allocations: 4 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01402, allocations: 0 / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.01403, allocations: 8.484 kB / 0.527 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008051/0.01484, allocations: 0.5365 MB / 0.5275 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01484, allocations: 1.438 kB / 0.5275 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01495, allocations: 19.92 kB / 0.5275 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01495, allocations: 0 / 0.5275 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.01497, allocations: 8.047 kB / 0.5275 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01497, allocations: 1.031 kB / 0.5275 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.01498, allocations: 3.984 kB / 0.5275 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.01557, allocations: 454.8 kB / 0.528 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.01561, allocations: 16.48 kB / 0.528 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.01563, allocations: 4 kB / 0.528 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.01578, allocations: 8.938 kB / 0.528 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.01585, allocations: 15.97 kB / 0.528 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.01586, allocations: 8.938 kB / 0.528 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001674/0.01603, allocations: 181.1 kB / 0.5282 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01603, allocations: 0.9062 kB / 0.5282 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003419/0.01637, allocations: 28 kB / 0.5282 GB, free: 9.312 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.000162/0.01653, allocations: 107 kB / 0.5283 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.01685, allocations: 125.7 kB / 0.5284 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01686, allocations: 0 / 0.5284 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.01699, allocations: 51.55 kB / 0.5285 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.01761, allocations: 71.19 kB / 0.5285 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.01835, allocations: 360.3 kB / 0.5289 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01848, allocations: 105.8 kB / 0.529 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.785e-05/0.01855, allocations: 19.3 kB / 0.529 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.0186, allocations: 20.48 kB / 0.529 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.0186, allocations: 1.219 kB / 0.529 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.006491/0.02509, allocations: 2.117 MB / 0.5311 GB, free: 6.426 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.079416404943913]