Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001067/0.00107, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001242/0.001242, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.982/0.982, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 8 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 83.4 MB / 0.5973 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002395/0.1771, allocations: 1.479 MB / 0.5987 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1782, allocations: 0.5068 MB / 0.5992 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1783, allocations: 4 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.1784, allocations: 11.88 kB / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.1785, allocations: 31.83 kB / 0.5993 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1788, allocations: 51.92 kB / 0.5993 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.1791, allocations: 115.8 kB / 0.5994 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1792, allocations: 37.83 kB / 0.5994 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.1793, allocations: 43.78 kB / 0.5995 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.1794, allocations: 51.7 kB / 0.5995 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1794, allocations: 4 kB / 0.5995 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.1795, allocations: 4 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.1795, allocations: 19.92 kB / 0.5996 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.1796, allocations: 45.58 kB / 0.5996 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1797, allocations: 96.02 kB / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1797, allocations: 0 / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1797, allocations: 4 kB / 0.5997 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1797, allocations: 0 / 0.5997 GB, free: 5.379 MB / 0.4981 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.0007377/0.1805, allocations: 454.6 kB / 0.6001 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1805, allocations: 8.031 kB / 0.6001 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.1806, allocations: 23.75 kB / 0.6002 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1808, allocations: 222.7 kB / 0.6004 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1809, allocations: 16 kB / 0.6004 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1809, allocations: 15.91 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.1812, allocations: 148.3 kB / 0.6006 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1813, allocations: 3.938 kB / 0.6006 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1813, allocations: 8 kB / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1813, allocations: 4 kB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.1815, allocations: 82.08 kB / 0.6006 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.1825, allocations: 0.7395 MB / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1827, allocations: 62.53 kB / 0.6014 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1827, allocations: 4 kB / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.183, allocations: 126.6 kB / 0.6016 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.183, allocations: 0 / 0.6016 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005068/0.1835, allocations: 181.5 kB / 0.6017 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.1836, allocations: 140.5 kB / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1838, allocations: 199.7 kB / 0.6021 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1838, allocations: 25.7 kB / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.1839, allocations: 127.8 kB / 0.6022 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.184, allocations: 43.69 kB / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.184, allocations: 8.031 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1841, allocations: 322.8 kB / 0.6026 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1842, allocations: 44.34 kB / 0.6026 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.1845, allocations: 151.2 kB / 0.6027 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1846, allocations: 55.98 kB / 0.6028 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1846, allocations: 7.938 kB / 0.6028 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004436/0.1851, allocations: 217.3 kB / 0.603 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1851, allocations: 11.94 kB / 0.603 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1851, allocations: 4 kB / 0.603 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1852, allocations: 4 kB / 0.603 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1853, allocations: 35.92 kB / 0.6031 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.1853, allocations: 16.17 kB / 0.6031 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1855, allocations: 35.78 kB / 0.6031 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1855, allocations: 12 kB / 0.6031 GB, free: 1.551 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 ($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.0001258/0.1857, allocations: 129.8 kB / 0.6032 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1857, allocations: 19.72 kB / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1858, allocations: 21.39 kB / 0.6033 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1858, allocations: 4 kB / 0.6033 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1858, allocations: 4 kB / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1858, allocations: 0 / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.1866, allocations: 0.5289 MB / 0.6038 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1866, allocations: 0 / 0.6038 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1867, allocations: 19.98 kB / 0.6038 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1868, allocations: 0 / 0.6038 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1868, allocations: 8 kB / 0.6038 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.1868, allocations: 8.203 kB / 0.6038 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1868, allocations: 0 / 0.6038 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.1874, allocations: 417.2 kB / 0.6042 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.1874, allocations: 92.95 kB / 0.6043 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1875, allocations: 4 kB / 0.6043 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1876, allocations: 23.98 kB / 0.6044 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1877, allocations: 12.3 kB / 0.6044 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1877, allocations: 7.984 kB / 0.6044 GB, free: 136 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2978/0.4856, allocations: 137.7 kB / 0.6045 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4856, allocations: 0 / 0.6045 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004136/0.486, allocations: 26.38 kB / 0.6045 GB, free: 40.74 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 (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.000123/0.4861, allocations: 101.3 kB / 0.6046 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.4865, allocations: 127.8 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4866, allocations: 3.656 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4867, allocations: 54.95 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.4871, allocations: 54.44 kB / 0.6049 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.4876, allocations: 392 kB / 0.6052 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.4878, allocations: 0.7286 MB / 0.6059 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.487e-05/0.4878, allocations: 18.56 kB / 0.606 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.4879, allocations: 17.25 kB / 0.606 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.4879, allocations: 3.531 kB / 0.606 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.003779/0.4917, allocations: 1.747 MB / 0.6077 GB, free: 39.66 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) Environment - environmentSimulation: