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.595/1.595, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001096/0.001096, allocations: 181.1 kB / 371.8 MB, free: 10.27 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.344/1.344, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0008432/0.0008432, allocations: 99.64 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 10.97 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0009028/0.1544, allocations: 0.5729 MB / 0.98 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.1552, allocations: 0.8672 MB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.1553, allocations: 0 / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1553, allocations: 3.938 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.1554, allocations: 19.91 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.1555, allocations: 31.91 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.1556, allocations: 59.86 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.1557, allocations: 37.27 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.1558, allocations: 31.92 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.1558, allocations: 39.77 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1559, allocations: 0 / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.1559, allocations: 4 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.1559, allocations: 15.92 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.1559, allocations: 37.64 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.113e-05/0.156, allocations: 99.98 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.156, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.156, allocations: 3.938 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.156, allocations: 0 / 0.9813 GB, free: 25.74 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.0007113/0.1568, allocations: 458.9 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1568, allocations: 12.02 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1568, allocations: 38.56 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.1569, allocations: 15.89 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.157, allocations: 178.9 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.157, allocations: 7.938 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.157, allocations: 8 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1572, allocations: 99.27 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1572, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1572, allocations: 4 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1572, allocations: 4 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1574, allocations: 71.95 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.158, allocations: 424.3 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1581, allocations: 70.5 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1582, allocations: 4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.1582, allocations: 34.5 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1582, allocations: 0 / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003074/0.1585, allocations: 129.7 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.1585, allocations: 51.41 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.1586, allocations: 153.1 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1586, allocations: 29.69 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.1587, allocations: 100 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1587, allocations: 23.8 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.1587, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.1587, allocations: 322.8 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.1588, allocations: 27.98 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.1589, allocations: 31.98 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.159, allocations: 31.92 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.159, allocations: 0 / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001837/0.1592, allocations: 105.5 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1592, allocations: 4 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1592, allocations: 0 / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1592, allocations: 4 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.1593, allocations: 11.98 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1593, allocations: 240 / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1595, allocations: 40.05 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1595, allocations: 11.97 kB / 0.9837 GB, free: 23.06 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.958e-05/0.1596, allocations: 122.5 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1596, allocations: 15.77 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.1597, allocations: 12.31 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1597, allocations: 3.938 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1597, allocations: 4 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1597, allocations: 0 / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1598, allocations: 197.6 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1598, allocations: 0 / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/0.1599, allocations: 15.98 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.1599, allocations: 0 / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1599, allocations: 3.953 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1599, allocations: 7.938 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1599, allocations: 0 / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1601, allocations: 191.5 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.1602, allocations: 85.02 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1602, allocations: 7.984 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1604, allocations: 35.92 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1605, allocations: 19.92 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1605, allocations: 4.297 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.1605, allocations: 109.9 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1605, allocations: 0 / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002168/0.1608, allocations: 16 kB / 0.9845 GB, free: 22.14 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.0003241/0.1611, allocations: 0.7319 MB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1613, allocations: 75.91 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1613, allocations: 0 / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.1614, allocations: 35.98 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.1616, allocations: 15.94 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008745/0.1625, allocations: 0.6962 MB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.419e-05/0.1626, allocations: 0.7021 MB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.66e-05/0.1626, allocations: 19.62 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1627, allocations: 27.48 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1627, allocations: 0 / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/0.1733, allocations: 2.249 MB / 0.9889 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001254/0.1734, allocations: 211 kB / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/1.606, allocations: 7.938 kB / 0.9891 GB, free: 17.41 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)