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.389/1.389, allocations: 252 MB / 267 MB, free: 10.96 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.001007/0.001007, allocations: 183.2 kB / 326.6 MB, free: 2.211 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.466/1.466, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007948/0.0007947, allocations: 83.92 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 10.75 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 106.3 MB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00126/0.158, allocations: 1.293 MB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.1583, allocations: 176.3 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.1584, allocations: 4 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.1584, allocations: 7.922 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.1585, allocations: 15.86 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.1586, allocations: 23.97 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.1587, allocations: 99.64 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.1588, allocations: 45.06 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.1589, allocations: 35.84 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.159, allocations: 31.84 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.159, allocations: 4 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.159, allocations: 4 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.159, allocations: 15.92 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1591, allocations: 41.64 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.1592, allocations: 91.77 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1592, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1592, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.1592, allocations: 0 / 0.9021 GB, free: 61.84 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.0006927/0.1599, allocations: 463.2 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1599, allocations: 11.97 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.16, allocations: 38.56 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.16, allocations: 11.81 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.1601, allocations: 193.4 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1601, allocations: 8 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1601, allocations: 12 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1603, allocations: 90.91 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.1603, allocations: 0 / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1603, allocations: 4 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1604, allocations: 4 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1605, allocations: 71.97 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.1611, allocations: 416.4 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1613, allocations: 70.48 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.1614, allocations: 32.97 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1614, allocations: 0 / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.1614, allocations: 38.56 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1614, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003083/0.1617, allocations: 125.5 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.1617, allocations: 55.34 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.1618, allocations: 155.8 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1618, allocations: 29.64 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1619, allocations: 112.1 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1619, allocations: 19.89 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.1619, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.162, allocations: 318.8 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.162, allocations: 31.97 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.1621, allocations: 31.98 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.1622, allocations: 32.12 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1622, allocations: 3.953 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001884/0.1624, allocations: 105.6 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.1624, allocations: 4 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1624, allocations: 0 / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1625, allocations: 4 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.1625, allocations: 15.92 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1626, allocations: 0 / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1627, allocations: 43.81 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1628, allocations: 4 kB / 0.9046 GB, free: 59.12 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.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 7.538e-05/0.1628, allocations: 117.8 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1629, allocations: 11.86 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.1629, allocations: 16.31 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1629, allocations: 0 / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1629, allocations: 0 / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1629, allocations: 7.984 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1631, allocations: 197.5 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1631, allocations: 0 / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.1631, allocations: 20.19 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1631, allocations: 0 / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1632, allocations: 8 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1632, allocations: 4 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1632, allocations: 0 / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1634, allocations: 191.4 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1634, allocations: 89.02 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1634, allocations: 3.953 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1636, allocations: 35.95 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1637, allocations: 11.98 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1637, allocations: 7.984 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.1638, allocations: 111.3 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1638, allocations: 0 / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000204/0.164, allocations: 15.91 kB / 0.9054 GB, free: 58.2 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 (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.0003343/0.1643, allocations: 0.728 MB / 0.9061 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1645, allocations: 75.91 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1645, allocations: 0 / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.1646, allocations: 43.92 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1649, allocations: 11.95 kB / 0.9062 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.1658, allocations: 0.7014 MB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.1659, allocations: 0.6965 MB / 0.9076 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1659, allocations: 8 kB / 0.9076 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.166, allocations: 27.48 kB / 0.9076 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.166, allocations: 0 / 0.9076 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.1767, allocations: 2.266 MB / 0.9099 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001153/0.1768, allocations: 212.5 kB / 0.9101 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.768, allocations: 0 / 0.9101 GB, free: 53.49 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)