Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00606/0.00606, allocations: 103.1 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 274.6 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 95.84 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1556, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002889/0.1585, allocations: 1.641 MB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.1595, allocations: 0.5229 MB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1596, allocations: 7.938 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1601, allocations: 172.9 kB / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.1605, allocations: 159.5 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.161, allocations: 194.5 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1613, allocations: 199.6 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1614, allocations: 45.5 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1616, allocations: 83.67 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1618, allocations: 159.5 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1618, allocations: 12 kB / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.1619, allocations: 39.98 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.162, allocations: 71.81 kB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.1621, allocations: 103.3 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1624, allocations: 263 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1625, allocations: 0 / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1625, allocations: 0 / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1625, allocations: 0 / 0.7694 GB, free: 5.312 MB / 0.5606 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.0007673/0.1632, allocations: 0.5874 MB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1633, allocations: 8.031 kB / 0.77 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1633, allocations: 42.69 kB / 0.77 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.1634, allocations: 32.55 kB / 0.7701 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.1639, allocations: 370.4 kB / 0.7704 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1639, allocations: 384 / 0.7704 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1639, allocations: 12.38 kB / 0.7704 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1641, allocations: 69.59 kB / 0.7705 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1641, allocations: 0 / 0.7705 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1641, allocations: 8 kB / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1641, allocations: 0 / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1643, allocations: 55.89 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.1648, allocations: 420.6 kB / 0.771 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.165, allocations: 54.58 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.1651, allocations: 24.91 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1651, allocations: 7.984 kB / 0.7711 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1652, allocations: 30.56 kB / 0.7711 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1652, allocations: 0 / 0.7711 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003831/0.1655, allocations: 121.2 kB / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1656, allocations: 55.34 kB / 0.7713 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.1661, allocations: 0.5132 MB / 0.7718 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1661, allocations: 33.64 kB / 0.7718 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1663, allocations: 167.9 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1663, allocations: 11.91 kB / 0.772 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1663, allocations: 9.719 kB / 0.772 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1664, allocations: 346.8 kB / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.1665, allocations: 15.98 kB / 0.7723 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.1666, allocations: 19.98 kB / 0.7723 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1668, allocations: 49.08 kB / 0.7724 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1668, allocations: 4 kB / 0.7724 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002334/0.167, allocations: 101.2 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.167, allocations: 4 kB / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.167, allocations: 0 / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1671, allocations: 0 / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.1671, allocations: 15.98 kB / 0.7725 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1672, allocations: 0 / 0.7725 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.1673, allocations: 7.938 kB / 0.7725 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1673, allocations: 7.984 kB / 0.7725 GB, free: 1.914 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.1674, allocations: 166.5 kB / 0.7727 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.1675, allocations: 31.62 kB / 0.7727 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1677, allocations: 108 kB / 0.7728 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1677, allocations: 8 kB / 0.7728 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1678, allocations: 0 / 0.7728 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1678, allocations: 3.938 kB / 0.7728 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.168, allocations: 261.5 kB / 0.7731 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.168, allocations: 0 / 0.7731 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.1681, allocations: 11.98 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1681, allocations: 0 / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1681, allocations: 0 / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1681, allocations: 0 / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1681, allocations: 4 kB / 0.7731 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1684, allocations: 195.1 kB / 0.7733 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1685, allocations: 108.8 kB / 0.7734 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1685, allocations: 8 kB / 0.7734 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.1686, allocations: 11.92 kB / 0.7734 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1687, allocations: 3.938 kB / 0.7734 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1687, allocations: 3.938 kB / 0.7734 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003708/0.1691, allocations: 391.1 kB / 0.7738 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1691, allocations: 0 / 0.7738 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002552/0.1693, allocations: 31.84 kB / 0.7738 GB, free: 500 kB / 0.5606 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 (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.2967/0.466, allocations: 0.9605 MB / 0.7747 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.4664, allocations: 46.17 kB / 0.7748 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4664, allocations: 0.5938 kB / 0.7748 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.4665, allocations: 26.23 kB / 0.7748 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.467, allocations: 44.41 kB / 0.7749 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.4699, allocations: 2.583 MB / 0.7774 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4701, allocations: 0.7775 MB / 0.7781 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.353e-05/0.4702, allocations: 35.08 kB / 0.7782 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4704, allocations: 85.06 kB / 0.7782 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.4704, allocations: 0.9844 kB / 0.7783 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.4925, allocations: 5.145 MB / 0.7833 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.98, allocations: 6.375 kB / 0.7833 GB, free: 11.82 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)