Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001228, allocations: 113.5 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 189.6 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6676/0.6676, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 65.66 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1107, allocations: 76.18 MB / 0.6328 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002702/0.1135, allocations: 1.815 MB / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.1144, allocations: 0.5338 MB / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.1145, allocations: 7.938 kB / 0.6351 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1146, allocations: 19.73 kB / 0.6351 GB, free: 2 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.902e-05/0.1147, allocations: 31.72 kB / 0.6351 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1149, allocations: 67.84 kB / 0.6352 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1151, allocations: 171.5 kB / 0.6353 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1153, allocations: 53.53 kB / 0.6354 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.1154, allocations: 55.72 kB / 0.6354 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.701e-05/0.1155, allocations: 63.62 kB / 0.6355 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1155, allocations: 16 kB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.1155, allocations: 8 kB / 0.6355 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.1156, allocations: 23.92 kB / 0.6355 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.1156, allocations: 63.59 kB / 0.6356 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1158, allocations: 143.3 kB / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1158, allocations: 0 / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1158, allocations: 0 / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1158, allocations: 0 / 0.6357 GB, free: 1.312 MB / 478.1 MB 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.0006398/0.1165, allocations: 478.7 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1165, allocations: 8.031 kB / 0.6362 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1166, allocations: 16.75 kB / 0.6362 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1168, allocations: 231.9 kB / 0.6364 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1169, allocations: 12.38 kB / 0.6365 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1169, allocations: 12.38 kB / 0.6365 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1172, allocations: 156.1 kB / 0.6366 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1172, allocations: 0 / 0.6366 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1172, allocations: 4 kB / 0.6366 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1172, allocations: 4 kB / 0.6366 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.1174, allocations: 67.83 kB / 0.6367 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.1183, allocations: 0.7431 MB / 0.6374 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1184, allocations: 54.55 kB / 0.6375 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.1185, allocations: 28.84 kB / 0.6375 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1185, allocations: 3.984 kB / 0.6375 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.1188, allocations: 134.7 kB / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.1188, allocations: 0 / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004435/0.1192, allocations: 161.3 kB / 0.6378 GB, free: 15.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1193, allocations: 136.5 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1194, allocations: 199.2 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1195, allocations: 33.7 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.1196, allocations: 132 kB / 0.6383 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1196, allocations: 31.55 kB / 0.6383 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.1196, allocations: 45.61 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1198, allocations: 330.8 kB / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1199, allocations: 39.97 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.1201, allocations: 146.5 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1204, allocations: 206.3 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1204, allocations: 4 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003748/0.1207, allocations: 201.5 kB / 0.6392 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1208, allocations: 8 kB / 0.6392 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1208, allocations: 7.938 kB / 0.6392 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1208, allocations: 4 kB / 0.6392 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1209, allocations: 39.91 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1209, allocations: 4 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1211, allocations: 27.83 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1211, allocations: 8 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB 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 9.917e-05/0.1212, allocations: 141.8 kB / 0.6394 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1212, allocations: 19.81 kB / 0.6395 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.1213, allocations: 21.39 kB / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1213, allocations: 4 kB / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1213, allocations: 0 / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.1214, allocations: 92.91 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.1214, allocations: 4.25 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1215, allocations: 19.92 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1216, allocations: 19.92 kB / 0.6396 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005584/0.1221, allocations: 462.6 kB / 0.6401 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005428/0.1227, allocations: 0.5746 MB / 0.6406 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001372/0.1228, allocations: 56.38 kB / 0.6407 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.1229, allocations: 148.2 kB / 0.6408 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Backend: time 3.51e-07/0.1229, allocations: 0 / 0.6408 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006686/0.1236, allocations: 166.8 kB / 0.641 GB, free: 11.49 MB / 494.1 MB Notification: Performance of SimCode: time 0.0008159/0.1244, allocations: 0.8238 MB / 0.6418 GB, free: 10.62 MB / 494.1 MB Notification: Performance of Templates: time 0.004789/0.1292, allocations: 2.281 MB / 0.644 GB, free: 8.367 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)