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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009553/0.0009555, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5233/0.5233, allocations: 90.92 MB / 99.35 MB, free: 2.23 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.578/1.578, allocations: 221.5 MB / 343.2 MB, free: 1.594 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.0009111/0.0009113, allocations: 100.7 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.958e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6431, allocations: 102.7 MB / 0.6539 GB, free: 7.547 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.6434, allocations: 75.7 kB / 0.654 GB, free: 7.508 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009749/0.6532, allocations: 3.503 MB / 0.6574 GB, free: 4.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6532, allocations: 7.938 kB / 0.6574 GB, free: 4.562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.6532, allocations: 4 kB / 0.6574 GB, free: 4.559 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.0006187/0.6539, allocations: 440.9 kB / 0.6579 GB, free: 4.094 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6539, allocations: 8.031 kB / 0.6579 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.654, allocations: 23.77 kB / 0.6579 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.6543, allocations: 232.4 kB / 0.6581 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6543, allocations: 7.984 kB / 0.6581 GB, free: 3.797 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.6543, allocations: 8 kB / 0.6581 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001265/0.6545, allocations: 35.88 kB / 0.6582 GB, free: 3.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.6547, allocations: 116 kB / 0.6583 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6547, allocations: 4.875 kB / 0.6583 GB, free: 3.645 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.6547, allocations: 3.953 kB / 0.6583 GB, free: 3.641 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.6547, allocations: 4 kB / 0.6583 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.6557, allocations: 0.7241 MB / 0.659 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.6558, allocations: 34.27 kB / 0.659 GB, free: 2.867 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.6559, allocations: 20.42 kB / 0.659 GB, free: 2.848 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.6559, allocations: 0 / 0.659 GB, free: 2.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.6561, allocations: 112.8 kB / 0.6592 GB, free: 2.727 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.6561, allocations: 0 / 0.6592 GB, free: 2.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002425/0.6564, allocations: 99.92 kB / 0.6593 GB, free: 2.633 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.6564, allocations: 136.3 kB / 0.6594 GB, free: 2.473 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.6566, allocations: 146.8 kB / 0.6595 GB, free: 2.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.6566, allocations: 32.52 kB / 0.6596 GB, free: 2.305 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.6567, allocations: 134.2 kB / 0.6597 GB, free: 2.188 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.6568, allocations: 37.95 kB / 0.6597 GB, free: 2.156 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.6568, allocations: 0 / 0.6597 GB, free: 2.156 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6569, allocations: 329.7 kB / 0.66 GB, free: 1.832 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.657, allocations: 23.25 kB / 0.6601 GB, free: 1.812 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.6571, allocations: 131.6 kB / 0.6602 GB, free: 1.648 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.6572, allocations: 38.8 kB / 0.6602 GB, free: 1.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6572, allocations: 7.938 kB / 0.6602 GB, free: 1.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002269/0.6574, allocations: 150.6 kB / 0.6604 GB, free: 1.477 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6574, allocations: 8 kB / 0.6604 GB, free: 1.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6575, allocations: 4 kB / 0.6604 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6575, allocations: 8 kB / 0.6604 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.6576, allocations: 31.92 kB / 0.6604 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6576, allocations: 8 kB / 0.6604 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6578, allocations: 19.89 kB / 0.6604 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6578, allocations: 15.56 kB / 0.6605 GB, free: 1.387 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 9.653e-05/0.6579, allocations: 120.8 kB / 0.6606 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001543/0.6581, allocations: 101.4 kB / 0.6607 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.6581, allocations: 15.95 kB / 0.6607 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.6582, allocations: 21.27 kB / 0.6607 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6582, allocations: 7.984 kB / 0.6607 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6582, allocations: 0 / 0.6607 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.6582, allocations: 3.953 kB / 0.6607 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.6588, allocations: 467.8 kB / 0.6612 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6588, allocations: 3.984 kB / 0.6612 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.6589, allocations: 19.98 kB / 0.6612 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6589, allocations: 0 / 0.6612 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.659, allocations: 4 kB / 0.6612 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.659, allocations: 11.88 kB / 0.6612 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.659, allocations: 3.953 kB / 0.6612 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.6593, allocations: 345.7 kB / 0.6615 GB, free: 276 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.6594, allocations: 92.86 kB / 0.6616 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.6594, allocations: 3.938 kB / 0.6616 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.6596, allocations: 20.2 kB / 0.6616 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.6597, allocations: 18.92 kB / 0.6617 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6597, allocations: 8 kB / 0.6617 GB, free: 116 kB / 458.7 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.6598, allocations: 125.1 kB / 0.6618 GB, free: 4 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6598, allocations: 0 / 0.6618 GB, free: 4 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.000333/0.6601, allocations: 24.05 kB / 0.6618 GB, free: 15.98 MB / 474.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.000681/0.6608, allocations: 1.095 MB / 0.6629 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.661, allocations: 79.41 kB / 0.663 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.661, allocations: 0 / 0.663 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.6611, allocations: 31.12 kB / 0.663 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.6616, allocations: 62.75 kB / 0.663 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.6622, allocations: 303.2 kB / 0.6633 GB, free: 14.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.6626, allocations: 0.7241 MB / 0.664 GB, free: 13.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.6626, allocations: 21.73 kB / 0.6641 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.6627, allocations: 48.61 kB / 0.6641 GB, free: 13.63 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6627, allocations: 0 / 0.6641 GB, free: 13.63 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.6862, allocations: 3.001 MB / 0.667 GB, free: 10.66 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.6865, allocations: 136.1 kB / 0.6672 GB, free: 10.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.468, allocations: 0 / 0.6672 GB, free: 10.46 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)