Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7949/0.7949, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 176.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 89.55 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 276.2 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.25e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4619, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.6268, allocations: 108.5 MB / 0.8634 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6272, allocations: 78.38 kB / 0.8635 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003424/0.6306, allocations: 1.132 MB / 0.8646 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6306, allocations: 0 / 0.8646 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.6306, allocations: 0 / 0.8646 GB, free: 2.117 MB / 0.5261 GB 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.0003765/0.631, allocations: 354.4 kB / 0.865 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6311, allocations: 8.031 kB / 0.865 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.6311, allocations: 4 kB / 0.865 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.6312, allocations: 167 kB / 0.8651 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.6313, allocations: 11.95 kB / 0.8651 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.6313, allocations: 4 kB / 0.8651 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.917e-05/0.6314, allocations: 23.98 kB / 0.8652 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.6314, allocations: 49.62 kB / 0.8652 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6315, allocations: 0 / 0.8652 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.6315, allocations: 0 / 0.8652 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6315, allocations: 4 kB / 0.8652 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.6319, allocations: 277.3 kB / 0.8655 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.615e-05/0.632, allocations: 54.59 kB / 0.8655 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.6321, allocations: 21.08 kB / 0.8656 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.6321, allocations: 4 kB / 0.8656 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.6322, allocations: 71.39 kB / 0.8656 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.6322, allocations: 0 / 0.8656 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000185/0.6324, allocations: 77.47 kB / 0.8657 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.6325, allocations: 55.41 kB / 0.8658 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.6326, allocations: 96.98 kB / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6326, allocations: 29.7 kB / 0.8659 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.6326, allocations: 84.14 kB / 0.866 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.6327, allocations: 23.72 kB / 0.866 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6327, allocations: 0 / 0.866 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6328, allocations: 318.8 kB / 0.8663 GB, free: 224 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.6328, allocations: 19.94 kB / 0.8663 GB, free: 204 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.6329, allocations: 43.31 kB / 0.8663 GB, free: 148 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.6329, allocations: 23.98 kB / 0.8664 GB, free: 124 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6329, allocations: 0 / 0.8664 GB, free: 124 kB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001172/0.6331, allocations: 89.52 kB / 0.8665 GB, free: 28 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6331, allocations: 4 kB / 0.8665 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6331, allocations: 4 kB / 0.8665 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6331, allocations: 0 / 0.8665 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.6332, allocations: 8 kB / 0.8665 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6332, allocations: 7.938 kB / 0.8665 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.6333, allocations: 11.98 kB / 0.8665 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.6333, allocations: 7.938 kB / 0.8665 GB, free: 15.98 MB / 0.5417 GB 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 () * 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 7.982e-05/0.6334, allocations: 118.2 kB / 0.8666 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.941e-05/0.6335, allocations: 73.62 kB / 0.8667 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.6335, allocations: 3.906 kB / 0.8667 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.6335, allocations: 16.39 kB / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6336, allocations: 0 / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6336, allocations: 0 / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6336, allocations: 0 / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.6339, allocations: 339.1 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.6339, allocations: 0 / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.634, allocations: 4 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.634, allocations: 0 / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.634, allocations: 0 / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.634, allocations: 4 kB / 0.867 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.634, allocations: 0 / 0.867 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.6342, allocations: 179.3 kB / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.6342, allocations: 85.02 kB / 0.8673 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6342, allocations: 4 kB / 0.8673 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.6343, allocations: 7.984 kB / 0.8673 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.6344, allocations: 7.984 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.6344, allocations: 4 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.6344, allocations: 83.28 kB / 0.8674 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6344, allocations: 3.938 kB / 0.8674 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002134/0.6346, allocations: 8 kB / 0.8674 GB, free: 14.97 MB / 0.5417 GB 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 () * 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.0004609/0.6351, allocations: 0.7139 MB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.6352, allocations: 43.94 kB / 0.8681 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6353, allocations: 2.016 kB / 0.8681 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.6353, allocations: 20 kB / 0.8682 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.6355, allocations: 12.52 kB / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.636, allocations: 137.5 kB / 0.8683 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.6363, allocations: 0.697 MB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.6363, allocations: 7.984 kB / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.6364, allocations: 15.44 kB / 0.869 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6364, allocations: 4 kB / 0.869 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.6547, allocations: 1.182 MB / 0.8702 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.655, allocations: 146.5 kB / 0.8703 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.18, allocations: 0 / 0.8703 GB, free: 11.88 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)