Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.454/1.454, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.0009093/0.0009094, allocations: 180.6 kB / 371.1 MB, free: 10.82 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.179/1.179, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007689/0.0007689, allocations: 106.4 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 14.86 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.0006584/0.1605, allocations: 422.9 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.1611, allocations: 0.7971 MB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.1611, allocations: 0 / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.1612, allocations: 0 / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.1612, allocations: 11.91 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.945e-05/0.1613, allocations: 8 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.1614, allocations: 43.84 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.1614, allocations: 15.94 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.1615, allocations: 15.92 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.1615, allocations: 15.92 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1616, allocations: 4 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.1616, allocations: 3.938 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1616, allocations: 7.984 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.1616, allocations: 33.64 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.546e-05/0.1617, allocations: 31.92 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1617, allocations: 0 / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1617, allocations: 4 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1617, allocations: 0 / 0.9801 GB, free: 26.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003489/0.162, allocations: 359.7 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1621, allocations: 12.03 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.1621, allocations: 30.75 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.1621, allocations: 16.84 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.139e-05/0.1622, allocations: 168.3 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.1622, allocations: 384 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.1622, allocations: 4.375 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.1624, allocations: 78.22 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1625, allocations: 7.938 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.1625, allocations: 0 / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1625, allocations: 0 / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1627, allocations: 91.86 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.163, allocations: 268.8 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1631, allocations: 66.53 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1633, allocations: 44.92 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1633, allocations: 4 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.1633, allocations: 42.5 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1633, allocations: 0 / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004474/0.1638, allocations: 157.6 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.1638, allocations: 55.41 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/0.1639, allocations: 109.8 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.1639, allocations: 25.7 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.1639, allocations: 84.14 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.1639, allocations: 11.81 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.1639, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.164, allocations: 322.8 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1641, allocations: 43.97 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1642, allocations: 47.89 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1644, allocations: 96.98 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1645, allocations: 4 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002735/0.1647, allocations: 117.6 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1648, allocations: 5.719 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1648, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1648, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1649, allocations: 19.98 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1649, allocations: 4.25 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.165, allocations: 19.98 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.165, allocations: 7.984 kB / 0.9824 GB, free: 24.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.184e-05/0.165, allocations: 121.7 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1651, allocations: 7.906 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.1654, allocations: 129.5 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1654, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1654, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1654, allocations: 4 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.559e-05/0.1655, allocations: 165.6 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1655, allocations: 4 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.1656, allocations: 23.97 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1656, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.1656, allocations: 8 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1656, allocations: 0 / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1656, allocations: 3.984 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1659, allocations: 219.4 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.1659, allocations: 85 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1659, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.166, allocations: 19.98 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1661, allocations: 7.984 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1661, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.058e-05/0.1661, allocations: 87.28 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1661, allocations: 4 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001753/0.1663, allocations: 4 kB / 0.9832 GB, free: 23.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000432/0.1667, allocations: 0.7514 MB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.167, allocations: 91.86 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.167, allocations: 0 / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1671, allocations: 51.95 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1674, allocations: 8 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.1677, allocations: 162.2 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.1678, allocations: 0.6848 MB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.1678, allocations: 384 / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.1678, allocations: 11.44 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1678, allocations: 0 / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2803/0.4481, allocations: 1.27 MB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.4483, allocations: 184.7 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.264, allocations: 2.062 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)