Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006301/0.006301, allocations: 101 kB / 15.73 MB, free: 6.047 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.00127/0.00127, allocations: 186.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 222.6 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5992/0.5992, allocations: 95.47 MB / 365.4 MB, free: 9.699 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.91 kB / 0.5036 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1425, allocations: 69.1 MB / 0.5711 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003173/0.1457, allocations: 1.633 MB / 0.5727 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.1466, allocations: 447.3 kB / 0.5731 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.1467, allocations: 11.94 kB / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.1473, allocations: 170.4 kB / 0.5733 GB, free: 6.094 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000404/0.1478, allocations: 160.1 kB / 0.5734 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1481, allocations: 162.3 kB / 0.5736 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1485, allocations: 195.6 kB / 0.5737 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1486, allocations: 41.47 kB / 0.5738 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1487, allocations: 83.67 kB / 0.5739 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.149, allocations: 159.5 kB / 0.574 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.149, allocations: 12 kB / 0.574 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1491, allocations: 35.98 kB / 0.5741 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1492, allocations: 75.81 kB / 0.5741 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.1493, allocations: 95.22 kB / 0.5742 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.1498, allocations: 263.1 kB / 0.5745 GB, free: 4.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.1498, allocations: 0 / 0.5745 GB, free: 4.836 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1498, allocations: 4 kB / 0.5745 GB, free: 4.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1498, allocations: 0 / 0.5745 GB, free: 4.832 MB / 446.1 MB 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.0009219/0.1507, allocations: 0.5914 MB / 0.5751 GB, free: 4.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1508, allocations: 15.98 kB / 0.5751 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.1509, allocations: 28.56 kB / 0.5751 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.1514, allocations: 370.2 kB / 0.5755 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1514, allocations: 4.375 kB / 0.5755 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1514, allocations: 4.375 kB / 0.5755 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.1517, allocations: 77.78 kB / 0.5755 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1517, allocations: 3.984 kB / 0.5755 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1517, allocations: 0 / 0.5755 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1517, allocations: 4 kB / 0.5755 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.1519, allocations: 55.89 kB / 0.5756 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.1525, allocations: 432.6 kB / 0.576 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1527, allocations: 42.59 kB / 0.5761 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.1528, allocations: 28.89 kB / 0.5761 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1528, allocations: 4 kB / 0.5761 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1529, allocations: 34.56 kB / 0.5761 GB, free: 2.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 3.586e-06/0.1529, allocations: 4 kB / 0.5761 GB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004389/0.1533, allocations: 113.3 kB / 0.5762 GB, free: 2.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1534, allocations: 55.34 kB / 0.5763 GB, free: 2.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.154, allocations: 0.5094 MB / 0.5768 GB, free: 2.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.154, allocations: 29.7 kB / 0.5768 GB, free: 2.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1541, allocations: 168 kB / 0.577 GB, free: 2.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1541, allocations: 7.812 kB / 0.577 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1542, allocations: 17.72 kB / 0.577 GB, free: 2.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1544, allocations: 350.7 kB / 0.5773 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1545, allocations: 19.92 kB / 0.5773 GB, free: 1.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1545, allocations: 19.98 kB / 0.5774 GB, free: 1.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1547, allocations: 44.81 kB / 0.5774 GB, free: 1.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1547, allocations: 4 kB / 0.5774 GB, free: 1.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002177/0.1549, allocations: 97.31 kB / 0.5775 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.155, allocations: 4 kB / 0.5775 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.155, allocations: 3.984 kB / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.155, allocations: 0 / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.1551, allocations: 15.98 kB / 0.5775 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1551, allocations: 0 / 0.5775 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.1552, allocations: 11.92 kB / 0.5775 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1552, allocations: 4 kB / 0.5775 GB, free: 1.469 MB / 446.1 MB 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.0001396/0.1554, allocations: 169.8 kB / 0.5777 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1554, allocations: 27.62 kB / 0.5777 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1555, allocations: 38.42 kB / 0.5778 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1555, allocations: 0 / 0.5778 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1555, allocations: 0 / 0.5778 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1556, allocations: 3.938 kB / 0.5778 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1558, allocations: 261.5 kB / 0.578 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1558, allocations: 0 / 0.578 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.1559, allocations: 12 kB / 0.578 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1559, allocations: 0 / 0.578 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1559, allocations: 8.312 kB / 0.578 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1559, allocations: 0 / 0.578 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1559, allocations: 0 / 0.578 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1562, allocations: 199 kB / 0.5782 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1563, allocations: 116.7 kB / 0.5783 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1564, allocations: 7.938 kB / 0.5783 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1565, allocations: 4 kB / 0.5783 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1565, allocations: 3.984 kB / 0.5784 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1566, allocations: 7.938 kB / 0.5784 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003797/0.1569, allocations: 383.1 kB / 0.5787 GB, free: 164 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1569, allocations: 4 kB / 0.5787 GB, free: 160 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1572, allocations: 20 kB / 0.5787 GB, free: 140 kB / 446.1 MB 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.0007992/0.158, allocations: 359 kB / 0.5791 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1583, allocations: 43.89 kB / 0.5791 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1583, allocations: 0 / 0.5791 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.1584, allocations: 23.98 kB / 0.5792 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1588, allocations: 58.56 kB / 0.5792 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.1595, allocations: 460.8 kB / 0.5797 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1599, allocations: 0.771 MB / 0.5804 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.943e-05/0.16, allocations: 37.95 kB / 0.5804 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.16, allocations: 23.42 kB / 0.5805 GB, free: 14.46 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1601, allocations: 0 / 0.5805 GB, free: 14.46 MB / 462.1 MB Notification: Performance of Templates: time 0.005818/0.1659, allocations: 2.276 MB / 0.5827 GB, free: 12.19 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)