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.001331/0.001331, allocations: 107.4 kB / 16.41 MB, free: 6.496 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.001216/0.001217, 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7779/0.7779, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.53 kB / 0.5731 GB, free: 27.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 78.7 MB / 0.6499 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.00291/0.1565, allocations: 1.815 MB / 0.6517 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1576, allocations: 0.5416 MB / 0.6522 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1577, allocations: 4 kB / 0.6522 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1578, allocations: 27.66 kB / 0.6523 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.1579, allocations: 23.73 kB / 0.6523 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1582, allocations: 67.92 kB / 0.6524 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1584, allocations: 179.4 kB / 0.6525 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1586, allocations: 45.59 kB / 0.6526 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.1587, allocations: 55.78 kB / 0.6526 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.1588, allocations: 63.56 kB / 0.6527 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1588, allocations: 12 kB / 0.6527 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.1589, allocations: 12 kB / 0.6527 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.1589, allocations: 27.92 kB / 0.6527 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.159, allocations: 63.59 kB / 0.6528 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1592, allocations: 139.2 kB / 0.6529 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1592, allocations: 0 / 0.6529 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1592, allocations: 0 / 0.6529 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1592, allocations: 4 kB / 0.6529 GB, free: 1.012 MB / 494.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.0008031/0.16, allocations: 474.6 kB / 0.6534 GB, free: 0.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1601, allocations: 12.03 kB / 0.6534 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1602, allocations: 16.84 kB / 0.6534 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1605, allocations: 240 kB / 0.6536 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1605, allocations: 12.23 kB / 0.6537 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.1605, allocations: 16.36 kB / 0.6537 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1609, allocations: 154.2 kB / 0.6538 GB, free: 0 / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1609, allocations: 0 / 0.6538 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.1609, allocations: 4.078 kB / 0.6538 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1609, allocations: 4 kB / 0.6538 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1612, allocations: 75.83 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.1621, allocations: 0.7355 MB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1622, allocations: 50.48 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1623, allocations: 36.83 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1624, allocations: 0 / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1626, allocations: 126.7 kB / 0.6548 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1626, allocations: 0 / 0.6548 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004625/0.1631, allocations: 165.4 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.1632, allocations: 132.5 kB / 0.6551 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1634, allocations: 206.7 kB / 0.6553 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1634, allocations: 33.94 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.1635, allocations: 128 kB / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1635, allocations: 47.83 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.1636, allocations: 37.7 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1637, allocations: 326.8 kB / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1639, allocations: 39.97 kB / 0.6559 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1641, allocations: 156.3 kB / 0.656 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.1644, allocations: 198.3 kB / 0.6562 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1644, allocations: 4.25 kB / 0.6562 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003717/0.1648, allocations: 205.7 kB / 0.6564 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1648, allocations: 16.03 kB / 0.6564 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1648, allocations: 8.047 kB / 0.6564 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1649, allocations: 7.984 kB / 0.6565 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.165, allocations: 35.91 kB / 0.6565 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.165, allocations: 8 kB / 0.6565 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1651, allocations: 27.88 kB / 0.6565 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1652, allocations: 12 kB / 0.6565 GB, free: 12.93 MB / 0.4981 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.0001023/0.1653, allocations: 134.3 kB / 0.6567 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1653, allocations: 23.89 kB / 0.6567 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.1654, allocations: 17.41 kB / 0.6567 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1654, allocations: 0 / 0.6567 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1654, allocations: 4 kB / 0.6567 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1654, allocations: 3.984 kB / 0.6567 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.1661, allocations: 0.5093 MB / 0.6572 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1661, allocations: 7.938 kB / 0.6572 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1662, allocations: 15.98 kB / 0.6572 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1662, allocations: 3.984 kB / 0.6572 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1662, allocations: 4 kB / 0.6572 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1663, allocations: 4 kB / 0.6572 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1663, allocations: 7.875 kB / 0.6573 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.1667, allocations: 356.3 kB / 0.6576 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1668, allocations: 93.02 kB / 0.6577 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1668, allocations: 4 kB / 0.6577 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.167, allocations: 12.03 kB / 0.6577 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.1671, allocations: 23.91 kB / 0.6577 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1671, allocations: 8 kB / 0.6577 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001024/0.1672, allocations: 136.6 kB / 0.6579 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1672, allocations: 0 / 0.6579 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003147/0.1675, allocations: 28 kB / 0.6579 GB, free: 11.45 MB / 0.4981 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.0001136/0.1676, allocations: 103.2 kB / 0.658 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.168, allocations: 127.7 kB / 0.6581 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.168, allocations: 0 / 0.6581 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1681, allocations: 47.91 kB / 0.6581 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.1687, allocations: 76.61 kB / 0.6582 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.1693, allocations: 348.9 kB / 0.6586 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1696, allocations: 0.7242 MB / 0.6593 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.019e-05/0.1696, allocations: 21.86 kB / 0.6593 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.1697, allocations: 15.44 kB / 0.6593 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1697, allocations: 0 / 0.6593 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.005085/0.1748, allocations: 2.031 MB / 0.6613 GB, free: 7.922 MB / 0.4981 GB 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)