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.001153/0.001153, allocations: 111.5 kB / 16.41 MB, free: 6.492 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.001268/0.001269, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7359/0.7359, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.81 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 76.18 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002732/0.1416, allocations: 1.809 MB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.1425, allocations: 0.5377 MB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.1426, allocations: 11.94 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1428, allocations: 23.73 kB / 0.6344 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.1429, allocations: 27.72 kB / 0.6344 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1431, allocations: 63.86 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.1433, allocations: 171.5 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1435, allocations: 53.58 kB / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.1436, allocations: 59.72 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.1437, allocations: 55.64 kB / 0.6348 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1437, allocations: 12 kB / 0.6348 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.1437, allocations: 8 kB / 0.6348 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1438, allocations: 27.92 kB / 0.6349 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1438, allocations: 63.59 kB / 0.6349 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.144, allocations: 143.3 kB / 0.6351 GB, free: 1.309 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.144, allocations: 0 / 0.6351 GB, free: 1.309 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.144, allocations: 4 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1441, allocations: 0 / 0.6351 GB, free: 1.305 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.000711/0.1448, allocations: 470.7 kB / 0.6355 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1448, allocations: 8.031 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1449, allocations: 20.75 kB / 0.6355 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1452, allocations: 235.9 kB / 0.6358 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1452, allocations: 8.375 kB / 0.6358 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1452, allocations: 12.38 kB / 0.6358 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1455, allocations: 160 kB / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1455, allocations: 0 / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1456, allocations: 11.98 kB / 0.636 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1456, allocations: 4 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.1458, allocations: 67.89 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.1467, allocations: 0.7391 MB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1468, allocations: 50.53 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.1469, allocations: 32.84 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1469, allocations: 0 / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1472, allocations: 130.7 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1472, allocations: 0 / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004387/0.1477, allocations: 165.8 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1477, allocations: 132.5 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1479, allocations: 202.9 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1479, allocations: 33.64 kB / 0.6375 GB, free: 14.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.148, allocations: 127.9 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.148, allocations: 31.56 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.1481, allocations: 45.61 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1482, allocations: 334.8 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1484, allocations: 44.03 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1486, allocations: 147.3 kB / 0.6382 GB, free: 13.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.1489, allocations: 198.5 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1489, allocations: 0 / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003678/0.1492, allocations: 213 kB / 0.6385 GB, free: 13.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1493, allocations: 8 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1493, allocations: 4 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1493, allocations: 4 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1494, allocations: 31.92 kB / 0.6386 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1494, allocations: 12.48 kB / 0.6386 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1496, allocations: 31.83 kB / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1496, allocations: 8 kB / 0.6386 GB, free: 13.25 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 0.0001103/0.1497, allocations: 137.7 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1497, allocations: 15.81 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.1498, allocations: 25.39 kB / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1498, allocations: 0 / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1498, allocations: 4 kB / 0.6388 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1498, allocations: 0 / 0.6388 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.1505, allocations: 0.5172 MB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1506, allocations: 0 / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1507, allocations: 15.98 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.1507, allocations: 4 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1507, allocations: 4 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1507, allocations: 11.94 kB / 0.6394 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1507, allocations: 3.938 kB / 0.6394 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.1512, allocations: 352.2 kB / 0.6397 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.1513, allocations: 104.9 kB / 0.6398 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1513, allocations: 4 kB / 0.6398 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1515, allocations: 11.98 kB / 0.6398 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.1515, allocations: 15.92 kB / 0.6398 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1515, allocations: 4.062 kB / 0.6398 GB, free: 11.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1517, allocations: 148.2 kB / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.152, allocations: 35.92 kB / 0.64 GB, free: 11.74 MB / 494.1 MB 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.0001171/0.1521, allocations: 111.2 kB / 0.6401 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.1524, allocations: 112.6 kB / 0.6402 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1525, allocations: 4 kB / 0.6402 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1526, allocations: 52.03 kB / 0.6403 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.1531, allocations: 58.03 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.1537, allocations: 340.7 kB / 0.6407 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.154, allocations: 0.7359 MB / 0.6414 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.1541, allocations: 25.47 kB / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1542, allocations: 19.42 kB / 0.6414 GB, free: 10.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1542, allocations: 4 kB / 0.6414 GB, free: 10.23 MB / 494.1 MB Notification: Performance of Templates: time 0.004719/0.1589, allocations: 2.021 MB / 0.6434 GB, free: 8.234 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)