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.005135/0.005135, allocations: 100.6 kB / 15.73 MB, free: 6 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.001331/0.001331, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 286.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 96.41 kB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1616, allocations: 86.96 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002939/0.1646, allocations: 1.659 MB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.1656, allocations: 0.5151 MB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.1656, allocations: 4 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.1661, allocations: 177.3 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.1665, allocations: 163.4 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1669, allocations: 189.2 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1672, allocations: 203.5 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1673, allocations: 49.72 kB / 0.7687 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1674, allocations: 79.73 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1677, allocations: 163.5 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1677, allocations: 12 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.1678, allocations: 39.98 kB / 0.769 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.1679, allocations: 71.81 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.168, allocations: 99.23 kB / 0.7692 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1683, allocations: 266.8 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1683, allocations: 4 kB / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1683, allocations: 0 / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.1684, allocations: 0 / 0.7694 GB, free: 5.293 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.0007952/0.1692, allocations: 0.5973 MB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1692, allocations: 8.031 kB / 0.77 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1692, allocations: 38.75 kB / 0.7701 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1693, allocations: 28.75 kB / 0.7701 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.1698, allocations: 382.6 kB / 0.7705 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1698, allocations: 384 / 0.7705 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1698, allocations: 8.375 kB / 0.7705 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.17, allocations: 73.59 kB / 0.7705 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.17, allocations: 0 / 0.7705 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1701, allocations: 4 kB / 0.7705 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1701, allocations: 0 / 0.7705 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.1703, allocations: 55.89 kB / 0.7706 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.1708, allocations: 420.6 kB / 0.771 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.171, allocations: 54.58 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1711, allocations: 24.91 kB / 0.7711 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1711, allocations: 4 kB / 0.7711 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1711, allocations: 34.55 kB / 0.7711 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1712, allocations: 3.938 kB / 0.7711 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.1715, allocations: 117.6 kB / 0.7712 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1716, allocations: 51.41 kB / 0.7713 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.1722, allocations: 0.5209 MB / 0.7718 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1722, allocations: 29.7 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1723, allocations: 168 kB / 0.772 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1724, allocations: 15.91 kB / 0.772 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1724, allocations: 9.719 kB / 0.772 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1726, allocations: 346.8 kB / 0.7723 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.1727, allocations: 15.98 kB / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1727, allocations: 23.97 kB / 0.7724 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1729, allocations: 44.81 kB / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1729, allocations: 8 kB / 0.7724 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002302/0.1732, allocations: 97.47 kB / 0.7725 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1732, allocations: 4 kB / 0.7725 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1732, allocations: 0 / 0.7725 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1732, allocations: 3.938 kB / 0.7725 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.1733, allocations: 15.98 kB / 0.7725 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1733, allocations: 0 / 0.7725 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.1734, allocations: 7.938 kB / 0.7725 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1734, allocations: 4 kB / 0.7725 GB, free: 1.883 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.0001525/0.1736, allocations: 174.5 kB / 0.7727 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1736, allocations: 27.81 kB / 0.7727 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1739, allocations: 104.1 kB / 0.7728 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.1739, allocations: 8 kB / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1739, allocations: 0 / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1739, allocations: 3.938 kB / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1742, allocations: 261.5 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1743, allocations: 0 / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.1743, allocations: 15.92 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1743, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1743, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1744, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1744, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1746, allocations: 199.3 kB / 0.7733 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1748, allocations: 116.8 kB / 0.7734 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1748, allocations: 4 kB / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1749, allocations: 7.984 kB / 0.7734 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.175, allocations: 3.938 kB / 0.7734 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.175, allocations: 0 / 0.7734 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004378/0.1754, allocations: 391.1 kB / 0.7738 GB, free: 500 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1754, allocations: 0 / 0.7738 GB, free: 500 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003519/0.1758, allocations: 27.89 kB / 0.7738 GB, free: 472 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.2893/0.4651, allocations: 0.9747 MB / 0.7748 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.4654, allocations: 46.77 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.4654, allocations: 3.938 kB / 0.7748 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.4655, allocations: 24.75 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.0005581/0.4661, allocations: 46.38 kB / 0.7749 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.4689, allocations: 2.585 MB / 0.7774 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.4691, allocations: 0.7739 MB / 0.7782 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.012e-05/0.4692, allocations: 35.39 kB / 0.7782 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.4693, allocations: 85.97 kB / 0.7783 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.4693, allocations: 0.8125 kB / 0.7783 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7455/1.215, allocations: 5.052 MB / 0.7832 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.14, allocations: 7.25 kB / 0.7832 GB, free: 11.84 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)