Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.SetPoints.Examples.Table,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.Table,fileNamePrefix="IBPSA_latest_IBPSA_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.00165/0.00165, allocations: 112.2 kB / 16.41 MB, free: 6.5 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.001864/0.001865, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7741/0.7741, allocations: 126.1 MB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.41 kB / 0.5726 GB, free: 27.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 78.7 MB / 0.6494 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.Table): time 0.002821/0.1392, allocations: 1.635 MB / 0.651 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.1402, allocations: 0.5146 MB / 0.6515 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.1403, allocations: 4 kB / 0.6515 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.1408, allocations: 182.3 kB / 0.6517 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.1412, allocations: 167.5 kB / 0.6519 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1417, allocations: 192.9 kB / 0.652 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.1419, allocations: 191.5 kB / 0.6522 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1421, allocations: 41.75 kB / 0.6523 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1422, allocations: 75.73 kB / 0.6523 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1424, allocations: 167.5 kB / 0.6525 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.1424, allocations: 12 kB / 0.6525 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.1425, allocations: 39.97 kB / 0.6525 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1426, allocations: 75.81 kB / 0.6526 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.1427, allocations: 95.28 kB / 0.6527 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1431, allocations: 270.8 kB / 0.653 GB, free: 1.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1431, allocations: 4 kB / 0.653 GB, free: 1.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1431, allocations: 0 / 0.653 GB, free: 1.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1431, allocations: 0 / 0.653 GB, free: 1.047 MB / 494.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.0007827/0.1439, allocations: 0.5957 MB / 0.6535 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1439, allocations: 8.031 kB / 0.6536 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.144, allocations: 34.73 kB / 0.6536 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.144, allocations: 32.75 kB / 0.6536 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1445, allocations: 370.7 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1445, allocations: 12.38 kB / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1445, allocations: 4.375 kB / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1447, allocations: 73.59 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1448, allocations: 0 / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1448, allocations: 0 / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1448, allocations: 4 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.145, allocations: 51.95 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.1455, allocations: 428.6 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1457, allocations: 46.59 kB / 0.6546 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.1458, allocations: 28.89 kB / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1458, allocations: 0 / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1458, allocations: 42.56 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1458, allocations: 0 / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000396/0.1462, allocations: 109.5 kB / 0.6547 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1463, allocations: 59.34 kB / 0.6548 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.1468, allocations: 0.5171 MB / 0.6553 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1469, allocations: 25.7 kB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.147, allocations: 176 kB / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.147, allocations: 11.84 kB / 0.6555 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1471, allocations: 13.72 kB / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1472, allocations: 346.7 kB / 0.6558 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.1473, allocations: 19.98 kB / 0.6559 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.1474, allocations: 19.98 kB / 0.6559 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1475, allocations: 48.81 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1476, allocations: 0 / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002404/0.1478, allocations: 93.47 kB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1478, allocations: 8 kB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1478, allocations: 0 / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1479, allocations: 0 / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.1479, allocations: 15.98 kB / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.148, allocations: 3.938 kB / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.148, allocations: 15.92 kB / 0.6561 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1481, allocations: 0 / 0.6561 GB, free: 13.64 MB / 0.4981 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.0001361/0.1482, allocations: 165.8 kB / 0.6562 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1483, allocations: 32.14 kB / 0.6563 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.1485, allocations: 112 kB / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1485, allocations: 0 / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1486, allocations: 0 / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1486, allocations: 7.938 kB / 0.6564 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1489, allocations: 261.5 kB / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1489, allocations: 0 / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.1489, allocations: 15.98 kB / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1489, allocations: 0 / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.149, allocations: 0 / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.149, allocations: 3.938 kB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.149, allocations: 3.984 kB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1492, allocations: 203.2 kB / 0.6568 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.1493, allocations: 109 kB / 0.6569 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1494, allocations: 0 / 0.6569 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1495, allocations: 11.92 kB / 0.6569 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.1495, allocations: 7.938 kB / 0.657 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1495, allocations: 4 kB / 0.657 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003981/0.1499, allocations: 383.1 kB / 0.6573 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1499, allocations: 0 / 0.6573 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002639/0.1502, allocations: 35.89 kB / 0.6574 GB, free: 12.21 MB / 0.4981 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.001223/0.1514, allocations: 0.971 MB / 0.6583 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1517, allocations: 43.97 kB / 0.6583 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1517, allocations: 0 / 0.6583 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.1518, allocations: 27.91 kB / 0.6584 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.1522, allocations: 49.94 kB / 0.6584 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.1553, allocations: 2.607 MB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1556, allocations: 0.7749 MB / 0.6617 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.166e-05/0.1557, allocations: 29.94 kB / 0.6618 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1558, allocations: 87.41 kB / 0.6618 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.1558, allocations: 3.938 kB / 0.6618 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.178, allocations: 5.023 MB / 0.6667 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.022, allocations: 0 / 0.6667 GB, free: 2.691 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_Table.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe 2>&1)