Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00233/0.00233, allocations: 93.47 kB / 19.44 MB, free: 332 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.002826/0.002826, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.334/1.334, allocations: 154.8 MB / 414.4 MB, free: 456 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.726e-05, allocations: 4 kB / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003403/0.00343, allocations: 1.815 MB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004655, allocations: 0.5474 MB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.004749, allocations: 7.188 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.004907, allocations: 35.66 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.004984, allocations: 19.73 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.005213, allocations: 71.84 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.005503, allocations: 179.4 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.00564, allocations: 33.73 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.005789, allocations: 79.8 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.005869, allocations: 40.44 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.005899, allocations: 8.625 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.005924, allocations: 12 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.005961, allocations: 24.67 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.00603, allocations: 43.84 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.006266, allocations: 133 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.006271, allocations: 3.984 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006272, allocations: 0 / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.006277, allocations: 4 kB / 0.5228 GB, free: 15.22 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.0009832/0.00726, allocations: 0.5308 MB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.007296, allocations: 13.28 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.007371, allocations: 24.8 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.007666, allocations: 185.5 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.00768, allocations: 4.375 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.007717, allocations: 21.19 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.008025, allocations: 159.8 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.008036, allocations: 1.469 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.008052, allocations: 4.375 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.008063, allocations: 11.92 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.008273, allocations: 57.25 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.009438, allocations: 0.9101 MB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.009584, allocations: 56.84 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.009674, allocations: 31.61 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.009693, allocations: 3.938 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.009943, allocations: 138.5 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.009944, allocations: 0 / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0004723/0.01042, allocations: 153.4 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.01052, allocations: 132.5 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01079, allocations: 270.9 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.01082, allocations: 28.45 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01096, allocations: 182.7 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.01101, allocations: 35.69 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01111, allocations: 55.36 kB / 0.5258 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002737/0.01138, allocations: 0.504 MB / 0.5262 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01149, allocations: 31.92 kB / 0.5263 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.01173, allocations: 192 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.0121, allocations: 244.2 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.0121, allocations: 0.5312 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000391/0.0125, allocations: 209 kB / 0.5269 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01251, allocations: 6.656 kB / 0.5269 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01252, allocations: 6.781 kB / 0.5269 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.01254, allocations: 8 kB / 0.5269 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.01267, allocations: 35.91 kB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01268, allocations: 4 kB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.0128, allocations: 19.89 kB / 0.527 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.01281, allocations: 8 kB / 0.527 GB, free: 10.59 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.0001598/0.01297, allocations: 185.3 kB / 0.5272 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.01303, allocations: 23.84 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.01308, allocations: 18.91 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01308, allocations: 0 / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.01309, allocations: 11.98 kB / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.0131, allocations: 5.281 kB / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.01391, allocations: 0.5434 MB / 0.5277 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.01391, allocations: 3.984 kB / 0.5277 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.01404, allocations: 13.5 kB / 0.5278 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01404, allocations: 288 / 0.5278 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.01406, allocations: 8 kB / 0.5278 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01406, allocations: 0 / 0.5278 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.01407, allocations: 8.641 kB / 0.5278 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.01462, allocations: 451.4 kB / 0.5282 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.01465, allocations: 15.91 kB / 0.5282 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01467, allocations: 0.75 kB / 0.5282 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.01482, allocations: 17.48 kB / 0.5282 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.01487, allocations: 7.984 kB / 0.5282 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01489, allocations: 8 kB / 0.5282 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001734/0.01506, allocations: 185.8 kB / 0.5284 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01506, allocations: 4.531 kB / 0.5284 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000324/0.01538, allocations: 24 kB / 0.5285 GB, free: 9.008 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.0001337/0.01552, allocations: 100.7 kB / 0.5286 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.01583, allocations: 121.6 kB / 0.5287 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.01584, allocations: 4.906 kB / 0.5287 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.01598, allocations: 51.58 kB / 0.5287 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.01655, allocations: 65.39 kB / 0.5288 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.01724, allocations: 349.7 kB / 0.5291 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.01738, allocations: 111.2 kB / 0.5292 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.178e-05/0.01745, allocations: 21.47 kB / 0.5292 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.0175, allocations: 20.5 kB / 0.5293 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01751, allocations: 0 / 0.5293 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.006499/0.024, allocations: 2.127 MB / 0.5313 GB, free: 6.117 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.052756732096896]