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.EquipmentOnOff.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.EquipmentOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.979/1.979, allocations: 288.4 MB / 303.3 MB, free: 8.184 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.001663/0.001663, allocations: 188.4 kB / 372 MB, free: 10.26 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.905/1.905, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0008732/0.0008729, allocations: 93.77 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.000446, allocations: 11.12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001031/0.2625, allocations: 0.5057 MB / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2639, allocations: 1.138 MB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.264, allocations: 8 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.264, allocations: 3.938 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.2641, allocations: 7.922 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.2646, allocations: 118.2 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2648, allocations: 119.7 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2649, allocations: 23.98 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2651, allocations: 43.91 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.2651, allocations: 43.81 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2652, allocations: 4 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.2653, allocations: 19.98 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.2653, allocations: 11.92 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.2653, allocations: 41.64 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2655, allocations: 108 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2655, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2655, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2655, allocations: 0 / 0.9818 GB, free: 25.33 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005543/0.2661, allocations: 416.8 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2661, allocations: 16.02 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.2662, allocations: 34.56 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.2662, allocations: 11.91 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.537e-05/0.2663, allocations: 174.9 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2664, allocations: 12 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2664, allocations: 11.98 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.2666, allocations: 89.59 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2666, allocations: 4 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2667, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.2667, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.2669, allocations: 75.94 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.2674, allocations: 392.4 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.2676, allocations: 58.53 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.2677, allocations: 36.92 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2677, allocations: 4 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.2679, allocations: 99.25 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2679, allocations: 0 / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004183/0.2684, allocations: 137.5 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2684, allocations: 55.39 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.2685, allocations: 125.8 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2685, allocations: 25.7 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.2686, allocations: 108 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.2686, allocations: 15.81 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.2686, allocations: 4 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.2687, allocations: 318.8 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2688, allocations: 51.97 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.269, allocations: 91.33 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.2692, allocations: 85.73 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2692, allocations: 0 / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003773/0.2695, allocations: 207.2 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.2696, allocations: 33.7 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2696, allocations: 3.953 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2696, allocations: 4 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.2697, allocations: 15.92 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2697, allocations: 4.062 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.27, allocations: 57.2 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.27, allocations: 7.984 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.692e-05/0.2701, allocations: 131.2 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.2701, allocations: 3.906 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.2702, allocations: 12.38 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2702, allocations: 3.953 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2702, allocations: 0 / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2702, allocations: 0 / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.2703, allocations: 189.6 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2703, allocations: 0 / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.2704, allocations: 15.98 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2704, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2704, allocations: 4 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2704, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2704, allocations: 4.266 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.2707, allocations: 144.9 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.2707, allocations: 77.11 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.2707, allocations: 0 / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.2708, allocations: 19.98 kB / 0.985 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.2709, allocations: 15.92 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.2709, allocations: 4 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.2709, allocations: 95.27 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2709, allocations: 0 / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000199/0.2711, allocations: 27.91 kB / 0.9852 GB, free: 21.51 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004672/0.2716, allocations: 0.675 MB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.272, allocations: 183.3 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.272, allocations: 4.125 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2721, allocations: 43.92 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2723, allocations: 7.984 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2734, allocations: 0.6965 MB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2735, allocations: 0.6943 MB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.2736, allocations: 7.938 kB / 0.9874 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.2736, allocations: 31.42 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of SimCode: time 5.1e-07/0.2737, allocations: 0 / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.2888, allocations: 2.418 MB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.289, allocations: 216.8 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/1.85, allocations: 0 / 0.99 GB, free: 16.57 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)