Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",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.002589/0.002589, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5656/0.5656, allocations: 91.97 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.1 MB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009735/0.0009736, allocations: 104.2 kB / 427.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 8 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1559, allocations: 72.31 MB / 0.5689 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.6643, allocations: 102.3 MB / 0.6688 GB, free: 2.059 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.6647, allocations: 67.97 kB / 0.6688 GB, free: 1.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003981/0.6687, allocations: 1.424 MB / 0.6702 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.6687, allocations: 0 / 0.6702 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.6687, allocations: 4 kB / 0.6702 GB, free: 0.5742 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004574/0.6692, allocations: 355.2 kB / 0.6706 GB, free: 184 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6692, allocations: 8.031 kB / 0.6706 GB, free: 176 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.6693, allocations: 38.55 kB / 0.6706 GB, free: 128 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.6693, allocations: 11.86 kB / 0.6706 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.6695, allocations: 167.1 kB / 0.6708 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6695, allocations: 0 / 0.6708 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.6695, allocations: 10.3 kB / 0.6708 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6696, allocations: 57.61 kB / 0.6709 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6697, allocations: 4 kB / 0.6709 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.6697, allocations: 0 / 0.6709 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6697, allocations: 3.953 kB / 0.6709 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.6698, allocations: 19.98 kB / 0.6709 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.6703, allocations: 312.8 kB / 0.6712 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.6704, allocations: 54.62 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.6704, allocations: 4 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.6706, allocations: 80.42 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.6707, allocations: 3.938 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002389/0.6709, allocations: 97.61 kB / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.671, allocations: 55.34 kB / 0.6715 GB, free: 15.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.671, allocations: 104.9 kB / 0.6716 GB, free: 15.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.6711, allocations: 29.7 kB / 0.6716 GB, free: 14.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.6711, allocations: 80.14 kB / 0.6717 GB, free: 14.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.6712, allocations: 27.64 kB / 0.6717 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.6712, allocations: 8 kB / 0.6717 GB, free: 14.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.6713, allocations: 314.8 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.6714, allocations: 20.53 kB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.6714, allocations: 43.36 kB / 0.6721 GB, free: 14.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.6715, allocations: 20 kB / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6715, allocations: 0 / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001514/0.6716, allocations: 105.7 kB / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6717, allocations: 11.95 kB / 0.6722 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6717, allocations: 0 / 0.6722 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6717, allocations: 0 / 0.6722 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.6718, allocations: 8 kB / 0.6722 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6718, allocations: 4 kB / 0.6722 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.6719, allocations: 11.89 kB / 0.6722 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6719, allocations: 4 kB / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001156/0.672, allocations: 126.7 kB / 0.6723 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.672, allocations: 4 kB / 0.6724 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.6721, allocations: 11.92 kB / 0.6724 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6721, allocations: 0 / 0.6724 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6721, allocations: 7.984 kB / 0.6724 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6721, allocations: 0 / 0.6724 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.6725, allocations: 358.8 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6725, allocations: 4 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.6726, allocations: 7.953 kB / 0.6727 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6726, allocations: 0 / 0.6727 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.6726, allocations: 96 / 0.6727 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6726, allocations: 3.938 kB / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6726, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.6728, allocations: 179.5 kB / 0.6729 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.6728, allocations: 88.95 kB / 0.673 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.6729, allocations: 7.953 kB / 0.673 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.6729, allocations: 11.98 kB / 0.673 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.673, allocations: 7.984 kB / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.673, allocations: 8.062 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.6731, allocations: 87.22 kB / 0.6731 GB, free: 13.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6731, allocations: 0 / 0.6731 GB, free: 13.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.6733, allocations: 15.98 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004362/0.6737, allocations: 0.7137 MB / 0.6738 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.6739, allocations: 47.92 kB / 0.6739 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6739, allocations: 0 / 0.6739 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.674, allocations: 35.86 kB / 0.6739 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.6742, allocations: 10.7 kB / 0.6739 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.6751, allocations: 0.9128 MB / 0.6748 GB, free: 11.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.6754, allocations: 0.6965 MB / 0.6755 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.6754, allocations: 7.938 kB / 0.6755 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.6755, allocations: 15.44 kB / 0.6755 GB, free: 10.75 MB / 474.7 MB Notification: Performance of SimCode: time 2.435e-06/0.6755, allocations: 0 / 0.6755 GB, free: 10.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.6885, allocations: 1.482 MB / 0.6769 GB, free: 9.41 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.6887, allocations: 186.3 kB / 0.6771 GB, free: 9.168 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.194, allocations: 0 / 0.6771 GB, free: 9.168 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)