Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table",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.413/1.413, allocations: 287.4 MB / 302.6 MB, free: 8.285 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.0008464/0.0008464, allocations: 177.9 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.138/1.138, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0006773/0.0006773, allocations: 97.64 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003367, allocations: 11.34 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001365/0.1515, allocations: 1.343 MB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005435/0.1521, allocations: 396.6 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.1522, allocations: 3.938 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.1525, allocations: 176 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.1528, allocations: 146 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1531, allocations: 144.2 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1533, allocations: 163.5 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1534, allocations: 37.75 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.1535, allocations: 75.67 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1536, allocations: 139.6 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1536, allocations: 4 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.1537, allocations: 28 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.1538, allocations: 67.8 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1538, allocations: 61.52 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.154, allocations: 203.5 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.154, allocations: 0 / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.154, allocations: 4 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.154, allocations: 0 / 0.9816 GB, free: 25.11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000509/0.1545, allocations: 0.5449 MB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1545, allocations: 8.031 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.413e-05/0.1546, allocations: 42.69 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1546, allocations: 28.56 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1549, allocations: 374.3 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-06/0.155, allocations: 8.312 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.155, allocations: 8.375 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1551, allocations: 73.55 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1552, allocations: 0 / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1552, allocations: 11.94 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1552, allocations: 3.984 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1553, allocations: 59.95 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1557, allocations: 424.6 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1558, allocations: 58.55 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1559, allocations: 28.91 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.156, allocations: 4 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.156, allocations: 34.56 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.156, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000335/0.1563, allocations: 141.3 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.1564, allocations: 51.41 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.1567, allocations: 0.5093 MB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.1567, allocations: 33.7 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1568, allocations: 164 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.1568, allocations: 11.84 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.1568, allocations: 0 / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.1569, allocations: 346.8 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.157, allocations: 23.98 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1571, allocations: 23.98 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1572, allocations: 56.81 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1572, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001888/0.1574, allocations: 113.2 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1574, allocations: 4 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1574, allocations: 4 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1574, allocations: 4 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1575, allocations: 11.98 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1575, allocations: 0 / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.1576, allocations: 15.94 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1576, allocations: 0 / 0.9847 GB, free: 21.7 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 8.54e-05/0.1577, allocations: 169.8 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.1578, allocations: 31.95 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.158, allocations: 131.9 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.158, allocations: 0 / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.158, allocations: 4 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.158, allocations: 7.875 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.1582, allocations: 261.5 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1582, allocations: 0 / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.1582, allocations: 11.98 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1583, allocations: 4 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1583, allocations: 0 / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1583, allocations: 0 / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1583, allocations: 0 / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1585, allocations: 211.1 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.1585, allocations: 116.7 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1586, allocations: 3.984 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.1587, allocations: 4 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.1587, allocations: 19.86 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.1587, allocations: 0 / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002663/0.159, allocations: 383.1 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.159, allocations: 0 / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002067/0.1592, allocations: 20 kB / 0.986 GB, free: 20.25 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.0008465/0.1601, allocations: 0.9977 MB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1603, allocations: 59.84 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1603, allocations: 0 / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.1603, allocations: 31.97 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1607, allocations: 38.89 kB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1625, allocations: 1.726 MB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.1627, allocations: 0.7752 MB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.349e-05/0.1627, allocations: 41.88 kB / 0.9896 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.1628, allocations: 83.41 kB / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.1628, allocations: 0 / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4402/0.6031, allocations: 4.959 MB / 0.9945 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.6033, allocations: 215.1 kB / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.06, allocations: 0 / 0.9947 GB, free: 11.45 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)