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.0007829/0.0007829, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 175 kB / 16.58 MB, free: 6.391 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.371/1.371, allocations: 223.3 MB / 240.6 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7037/0.7037, allocations: 115.5 MB / 407.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003681, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002098/0.141, allocations: 1.474 MB / 0.5608 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.142, allocations: 0.5146 MB / 0.5613 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1422, allocations: 4 kB / 0.5613 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1423, allocations: 23.72 kB / 0.5613 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.1424, allocations: 11.88 kB / 0.5613 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1426, allocations: 55.86 kB / 0.5614 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1428, allocations: 151.5 kB / 0.5615 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.143, allocations: 49.8 kB / 0.5615 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.1431, allocations: 39.73 kB / 0.5616 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.1431, allocations: 47.7 kB / 0.5616 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1432, allocations: 4 kB / 0.5616 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.1432, allocations: 4 kB / 0.5616 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.1432, allocations: 15.92 kB / 0.5617 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1433, allocations: 49.64 kB / 0.5617 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1434, allocations: 87.98 kB / 0.5618 GB, free: 6.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1434, allocations: 4 kB / 0.5618 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1434, allocations: 0 / 0.5618 GB, free: 6.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1434, allocations: 0 / 0.5618 GB, free: 6.863 MB / 430.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.0006973/0.1441, allocations: 454.6 kB / 0.5622 GB, free: 6.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1442, allocations: 12.03 kB / 0.5622 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.1442, allocations: 19.81 kB / 0.5623 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1445, allocations: 218.8 kB / 0.5625 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1445, allocations: 8 kB / 0.5625 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.1446, allocations: 15.91 kB / 0.5625 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1449, allocations: 157.3 kB / 0.5626 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1449, allocations: 0 / 0.5626 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1449, allocations: 7.984 kB / 0.5626 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.145, allocations: 4 kB / 0.5626 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.1452, allocations: 79.89 kB / 0.5627 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.1461, allocations: 0.7394 MB / 0.5634 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1463, allocations: 58.5 kB / 0.5635 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1464, allocations: 36.84 kB / 0.5635 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1464, allocations: 7.938 kB / 0.5635 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.1467, allocations: 126.7 kB / 0.5637 GB, free: 4.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1467, allocations: 0 / 0.5637 GB, free: 4.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004525/0.1471, allocations: 181.3 kB / 0.5638 GB, free: 4.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1472, allocations: 140.7 kB / 0.564 GB, free: 4.383 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1474, allocations: 198.8 kB / 0.5642 GB, free: 4.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1474, allocations: 29.7 kB / 0.5642 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.1475, allocations: 131.8 kB / 0.5643 GB, free: 4.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1476, allocations: 35.69 kB / 0.5643 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.1476, allocations: 4 kB / 0.5644 GB, free: 3.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1477, allocations: 330.8 kB / 0.5647 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1478, allocations: 48.34 kB / 0.5647 GB, free: 3.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.148, allocations: 145.3 kB / 0.5649 GB, free: 3.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1482, allocations: 67.91 kB / 0.5649 GB, free: 3.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1482, allocations: 0 / 0.5649 GB, free: 3.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003891/0.1486, allocations: 217.5 kB / 0.5651 GB, free: 3.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1486, allocations: 8 kB / 0.5651 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1486, allocations: 4 kB / 0.5651 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1486, allocations: 4 kB / 0.5651 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1488, allocations: 43.91 kB / 0.5652 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1488, allocations: 4 kB / 0.5652 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1489, allocations: 28.08 kB / 0.5652 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1489, allocations: 20.06 kB / 0.5652 GB, free: 3.008 MB / 430.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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1491, allocations: 126 kB / 0.5654 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.1491, allocations: 31.64 kB / 0.5654 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.1491, allocations: 21.41 kB / 0.5654 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1492, allocations: 4 kB / 0.5654 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1492, allocations: 0 / 0.5654 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1492, allocations: 11.92 kB / 0.5654 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.1499, allocations: 0.5249 MB / 0.5659 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1499, allocations: 4 kB / 0.5659 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1501, allocations: 23.98 kB / 0.566 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.1501, allocations: 4 kB / 0.566 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1501, allocations: 3.984 kB / 0.566 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1501, allocations: 0 / 0.566 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1501, allocations: 4 kB / 0.566 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.1506, allocations: 372.1 kB / 0.5663 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1507, allocations: 96.92 kB / 0.5664 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1507, allocations: 4 kB / 0.5664 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1509, allocations: 16.03 kB / 0.5664 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1509, allocations: 19.97 kB / 0.5665 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1509, allocations: 4 kB / 0.5665 GB, free: 1.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1511, allocations: 140.4 kB / 0.5666 GB, free: 1.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1511, allocations: 3.938 kB / 0.5666 GB, free: 1.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.1514, allocations: 27.94 kB / 0.5666 GB, free: 1.477 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001099/0.1515, allocations: 107.2 kB / 0.5667 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.1518, allocations: 128.1 kB / 0.5668 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1519, allocations: 0 / 0.5668 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.152, allocations: 51.92 kB / 0.5669 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.1525, allocations: 62.36 kB / 0.567 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.1531, allocations: 390.8 kB / 0.5673 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1534, allocations: 0.7283 MB / 0.568 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.075e-05/0.1535, allocations: 25.86 kB / 0.5681 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1536, allocations: 15.44 kB / 0.5681 GB, free: 15.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1536, allocations: 0 / 0.5681 GB, free: 15.91 MB / 446.1 MB Notification: Performance of Templates: time 0.004436/0.158, allocations: 1.726 MB / 0.5698 GB, free: 14.21 MB / 446.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)