Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.496/1.496, allocations: 288.4 MB / 303.6 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 177.1 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 0.631 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007144/0.0007144, allocations: 100.7 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 15.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0007574/0.1483, allocations: 0.5766 MB / 0.9808 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000667/0.149, allocations: 0.8633 MB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.149, allocations: 0 / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.149, allocations: 3.938 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.1491, allocations: 19.86 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.1492, allocations: 23.97 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.1493, allocations: 95.7 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.1494, allocations: 37.09 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1495, allocations: 31.86 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.1496, allocations: 43.77 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1496, allocations: 4 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.1496, allocations: 0 / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.1496, allocations: 23.84 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1497, allocations: 61.5 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.1498, allocations: 92 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1498, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1498, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.1498, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000645/0.1504, allocations: 459.1 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1505, allocations: 8.031 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.1505, allocations: 42.73 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.1505, allocations: 8.844 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.652e-05/0.1506, allocations: 198.2 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1507, allocations: 4.375 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1507, allocations: 16.36 kB / 0.9827 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1508, allocations: 94.16 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1509, allocations: 3.938 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1509, allocations: 8 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1509, allocations: 4 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.151, allocations: 79.89 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1516, allocations: 412.4 kB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1517, allocations: 62.56 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.1518, allocations: 36.97 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1518, allocations: 7.969 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.1518, allocations: 34.56 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1518, allocations: 0 / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002894/0.1521, allocations: 125.5 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.47e-05/0.1522, allocations: 55.34 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.1522, allocations: 155.3 kB / 0.9838 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1523, allocations: 25.7 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.1523, allocations: 108 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.1523, allocations: 15.81 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1523, allocations: 0 / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.1524, allocations: 318.8 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.1525, allocations: 31.98 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1525, allocations: 35.98 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1527, allocations: 56.83 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1527, allocations: 3.938 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001747/0.1528, allocations: 105.5 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.1529, allocations: 8 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1529, allocations: 0 / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.1529, allocations: 0 / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.153, allocations: 11.98 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.153, allocations: 3.938 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1531, allocations: 40.05 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1532, allocations: 4 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.77e-05/0.1532, allocations: 117.8 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1532, allocations: 7.906 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.1533, allocations: 20.3 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1533, allocations: 0 / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1533, allocations: 7.938 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1533, allocations: 0 / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.1534, allocations: 205.5 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1534, allocations: 0 / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.1535, allocations: 23.86 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1535, allocations: 0 / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1535, allocations: 0 / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1535, allocations: 0 / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1535, allocations: 3.938 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1537, allocations: 191.7 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.1537, allocations: 89.06 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1538, allocations: 8 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.154, allocations: 31.97 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.154, allocations: 19.91 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.154, allocations: 0 / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.1541, allocations: 118.3 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002013/0.1543, allocations: 12 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0003092/0.1546, allocations: 0.7318 MB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1548, allocations: 75.97 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1548, allocations: 0 / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.1549, allocations: 43.91 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1551, allocations: 16.69 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.1559, allocations: 0.6957 MB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.437e-05/0.156, allocations: 0.7004 MB / 0.9875 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.1561, allocations: 11.64 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1561, allocations: 27.48 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.1562, allocations: 0 / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4043/0.5605, allocations: 2.259 MB / 0.9898 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.5607, allocations: 214.7 kB / 0.99 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.272, allocations: 0 / 0.99 GB, free: 16.97 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)