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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009406/0.0009407, allocations: 178.3 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4741/0.4741, allocations: 90.92 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 95.88 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.201e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.5118, allocations: 102.7 MB / 0.6539 GB, free: 7.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.512, allocations: 72.33 kB / 0.6539 GB, free: 7.488 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008621/0.5207, allocations: 3.513 MB / 0.6574 GB, free: 4.535 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5207, allocations: 0 / 0.6574 GB, free: 4.535 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5207, allocations: 7.938 kB / 0.6574 GB, free: 4.527 MB / 458.7 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.0005092/0.5212, allocations: 437.1 kB / 0.6578 GB, free: 4.066 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5213, allocations: 8.031 kB / 0.6578 GB, free: 4.059 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.5213, allocations: 23.27 kB / 0.6578 GB, free: 4.039 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.5216, allocations: 229.1 kB / 0.658 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5216, allocations: 4 kB / 0.658 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5216, allocations: 11.91 kB / 0.658 GB, free: 3.766 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.942e-05/0.5217, allocations: 33.06 kB / 0.6581 GB, free: 3.746 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.5219, allocations: 123 kB / 0.6582 GB, free: 3.621 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5219, allocations: 0.75 kB / 0.6582 GB, free: 3.621 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5219, allocations: 3.953 kB / 0.6582 GB, free: 3.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.522, allocations: 4 kB / 0.6582 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.5228, allocations: 0.7263 MB / 0.6589 GB, free: 2.879 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.5229, allocations: 30.89 kB / 0.6589 GB, free: 2.844 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.5229, allocations: 23.84 kB / 0.659 GB, free: 2.824 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5229, allocations: 0 / 0.659 GB, free: 2.824 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.5231, allocations: 113.7 kB / 0.6591 GB, free: 2.703 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5231, allocations: 3.938 kB / 0.6591 GB, free: 2.699 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002005/0.5233, allocations: 102.4 kB / 0.6592 GB, free: 2.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.5234, allocations: 128.5 kB / 0.6593 GB, free: 2.449 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.5235, allocations: 150.1 kB / 0.6594 GB, free: 2.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5235, allocations: 29.7 kB / 0.6595 GB, free: 2.281 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.5236, allocations: 133.5 kB / 0.6596 GB, free: 2.164 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.5236, allocations: 42.03 kB / 0.6596 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-06/0.5237, allocations: 0 / 0.6596 GB, free: 2.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5238, allocations: 329.4 kB / 0.6599 GB, free: 1.805 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.5238, allocations: 20 kB / 0.66 GB, free: 1.789 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.5239, allocations: 128.2 kB / 0.6601 GB, free: 1.629 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.524, allocations: 45.95 kB / 0.6601 GB, free: 1.594 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.524, allocations: 4 kB / 0.6601 GB, free: 1.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002118/0.5242, allocations: 154.5 kB / 0.6603 GB, free: 1.449 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5242, allocations: 9.562 kB / 0.6603 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5242, allocations: 4 kB / 0.6603 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5243, allocations: 8 kB / 0.6603 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5244, allocations: 32.42 kB / 0.6603 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5244, allocations: 8 kB / 0.6603 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.5246, allocations: 19.98 kB / 0.6604 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5246, allocations: 11.81 kB / 0.6604 GB, free: 1.363 MB / 458.7 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,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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 7.332e-05/0.5247, allocations: 120.8 kB / 0.6605 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.5247, allocations: 15.81 kB / 0.6605 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.5247, allocations: 19.97 kB / 0.6605 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5247, allocations: 0 / 0.6605 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5248, allocations: 7.984 kB / 0.6605 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5248, allocations: 4 kB / 0.6605 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.5253, allocations: 458 kB / 0.661 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5253, allocations: 4.125 kB / 0.661 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.5254, allocations: 31.05 kB / 0.661 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.5254, allocations: 7.984 kB / 0.661 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.5255, allocations: 0 / 0.661 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5255, allocations: 4 kB / 0.661 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5255, allocations: 3.938 kB / 0.661 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5257, allocations: 343.5 kB / 0.6613 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.5258, allocations: 92.86 kB / 0.6614 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.5258, allocations: 7.953 kB / 0.6614 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.526, allocations: 20.02 kB / 0.6615 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.526, allocations: 15.17 kB / 0.6615 GB, free: 200 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5261, allocations: 4 kB / 0.6615 GB, free: 196 kB / 458.7 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.5261, allocations: 124.5 kB / 0.6616 GB, free: 88 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5261, allocations: 0 / 0.6616 GB, free: 88 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.5264, allocations: 27.94 kB / 0.6616 GB, free: 60 kB / 458.7 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,intWitRes1.trigger,$whenCondition2) * Number of discrete 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.0001517/0.5266, allocations: 108.8 kB / 0.6617 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.5268, allocations: 77.38 kB / 0.6618 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5268, allocations: 4.062 kB / 0.6618 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.5268, allocations: 34.92 kB / 0.6618 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.5273, allocations: 56.94 kB / 0.6619 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.5277, allocations: 245.6 kB / 0.6621 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.5279, allocations: 0.732 MB / 0.6628 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.528, allocations: 17.31 kB / 0.6629 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.528, allocations: 15.44 kB / 0.6629 GB, free: 14.77 MB / 474.7 MB Notification: Performance of SimCode: time 4.31e-07/0.528, allocations: 4 kB / 0.6629 GB, free: 14.76 MB / 474.7 MB Notification: Performance of Templates: time 0.003641/0.5317, allocations: 1.591 MB / 0.6644 GB, free: 13.2 MB / 474.7 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)