Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009033/0.0009032, allocations: 179.6 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007636/0.0007636, allocations: 93.27 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003242, allocations: 17.06 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1654, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001209/0.1666, allocations: 1.321 MB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.1669, allocations: 200.2 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.167, allocations: 0 / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.167, allocations: 3.938 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.1671, allocations: 19.84 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1672, allocations: 23.98 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.1673, allocations: 107.6 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1674, allocations: 53.11 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.1675, allocations: 35.83 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1676, allocations: 39.78 kB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1676, allocations: 4 kB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.1676, allocations: 4 kB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.1676, allocations: 11.92 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1677, allocations: 47.66 kB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.221e-05/0.1678, allocations: 107.6 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1678, allocations: 8 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1678, allocations: 0 / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.1678, allocations: 0 / 0.8981 GB, free: 66.05 MB / 0.6042 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.0006519/0.1685, allocations: 455.2 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1685, allocations: 8.031 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.1685, allocations: 46.73 kB / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1686, allocations: 12.75 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.1687, allocations: 182.8 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1687, allocations: 4.375 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1687, allocations: 8.375 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1689, allocations: 98.14 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1689, allocations: 11.94 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1689, allocations: 0 / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1689, allocations: 0 / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.1691, allocations: 75.95 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.1696, allocations: 420.4 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1698, allocations: 62.56 kB / 0.8995 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.1699, allocations: 36.97 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1699, allocations: 7.984 kB / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.1699, allocations: 34.55 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1699, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002898/0.1702, allocations: 125.5 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.1702, allocations: 59.34 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.1703, allocations: 157.6 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1704, allocations: 29.64 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1704, allocations: 100.1 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1704, allocations: 23.83 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1704, allocations: 13.72 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.1705, allocations: 322.8 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.1706, allocations: 35.98 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.1706, allocations: 35.97 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1708, allocations: 52.78 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1708, allocations: 4 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1709, allocations: 101.6 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.171, allocations: 8 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.171, allocations: 0 / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.171, allocations: 0 / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.1711, allocations: 11.98 kB / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1711, allocations: 7.938 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1712, allocations: 35.88 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1713, allocations: 4 kB / 0.9006 GB, free: 63.29 MB / 0.6042 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.1713, allocations: 121.8 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1714, allocations: 7.906 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.1714, allocations: 20.3 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1714, allocations: 0 / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1714, allocations: 4.188 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1714, allocations: 0 / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1715, allocations: 205.6 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1715, allocations: 0 / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.1716, allocations: 11.98 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1716, allocations: 4 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1716, allocations: 0 / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1716, allocations: 0 / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1716, allocations: 3.938 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1718, allocations: 195.5 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.1719, allocations: 84.95 kB / 0.9012 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1719, allocations: 11.94 kB / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1721, allocations: 27.97 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.1721, allocations: 23.91 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1722, allocations: 0 / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.1722, allocations: 115.2 kB / 0.9014 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.81e-07/0.1722, allocations: 0 / 0.9014 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001988/0.1724, allocations: 23.84 kB / 0.9014 GB, free: 62.35 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.1727, allocations: 0.7241 MB / 0.9021 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.1729, allocations: 75.84 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1729, allocations: 4 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.173, allocations: 43.97 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.1733, allocations: 13.42 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1745, allocations: 1.63 MB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.1746, allocations: 0.6965 MB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.1747, allocations: 11.97 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.1747, allocations: 27.42 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1748, allocations: 8 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.2877, allocations: 2.304 MB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.2878, allocations: 224.3 kB / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.975, allocations: 0 / 0.9071 GB, free: 56.61 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)