Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_IDEAS_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.005345/0.005345, allocations: 96.7 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.0013/0.0013, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6972/0.6972, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 66.17 kB / 0.5808 GB, free: 1.152 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 80.21 MB / 0.6592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002624/0.1464, allocations: 1.65 MB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.1472, allocations: 0.5185 MB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.1473, allocations: 0 / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.1478, allocations: 178.8 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1481, allocations: 161.9 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1485, allocations: 195.7 kB / 0.6618 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1488, allocations: 203.5 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1489, allocations: 41.75 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.149, allocations: 79.72 kB / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1492, allocations: 163.5 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1493, allocations: 12 kB / 0.6623 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.1493, allocations: 43.92 kB / 0.6623 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1495, allocations: 83.8 kB / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.1495, allocations: 91.3 kB / 0.6625 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.1498, allocations: 262.8 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1498, allocations: 0 / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1498, allocations: 3.938 kB / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.1499, allocations: 0 / 0.6627 GB, free: 10.4 MB / 0.4981 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.000737/0.1506, allocations: 0.6028 MB / 0.6633 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1506, allocations: 8.031 kB / 0.6633 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.1507, allocations: 34.75 kB / 0.6634 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.1507, allocations: 32.75 kB / 0.6634 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.1512, allocations: 370.7 kB / 0.6637 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1512, allocations: 8.375 kB / 0.6637 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1512, allocations: 4.375 kB / 0.6637 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1514, allocations: 77.53 kB / 0.6638 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1514, allocations: 4 kB / 0.6638 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1514, allocations: 0 / 0.6638 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1515, allocations: 4 kB / 0.6638 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1516, allocations: 55.95 kB / 0.6639 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.1521, allocations: 420.6 kB / 0.6643 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1523, allocations: 46.55 kB / 0.6643 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.1524, allocations: 28.91 kB / 0.6644 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1524, allocations: 3.984 kB / 0.6644 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1524, allocations: 42.59 kB / 0.6644 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1525, allocations: 0 / 0.6644 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003762/0.1528, allocations: 113.4 kB / 0.6645 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1529, allocations: 59.34 kB / 0.6646 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.1534, allocations: 0.5132 MB / 0.6651 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1534, allocations: 25.7 kB / 0.6651 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1535, allocations: 176 kB / 0.6653 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1536, allocations: 7.906 kB / 0.6653 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1536, allocations: 13.72 kB / 0.6653 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1537, allocations: 338.8 kB / 0.6656 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.1538, allocations: 23.97 kB / 0.6656 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.1539, allocations: 23.98 kB / 0.6656 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1541, allocations: 48.75 kB / 0.6657 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1541, allocations: 0 / 0.6657 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002212/0.1543, allocations: 93.8 kB / 0.6658 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1543, allocations: 8 kB / 0.6658 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1543, allocations: 3.984 kB / 0.6658 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1543, allocations: 4 kB / 0.6658 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.1544, allocations: 19.92 kB / 0.6658 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1544, allocations: 0 / 0.6658 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.1545, allocations: 7.938 kB / 0.6658 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1545, allocations: 0 / 0.6658 GB, free: 6.992 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.0001295/0.1547, allocations: 169.8 kB / 0.666 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1547, allocations: 31.81 kB / 0.666 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.155, allocations: 112 kB / 0.6661 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.155, allocations: 3.984 kB / 0.6661 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.155, allocations: 0 / 0.6661 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.155, allocations: 3.938 kB / 0.6661 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.1553, allocations: 261.5 kB / 0.6664 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1553, allocations: 0 / 0.6664 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1553, allocations: 11.98 kB / 0.6664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1553, allocations: 0 / 0.6664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1553, allocations: 0 / 0.6664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1554, allocations: 0 / 0.6664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1554, allocations: 4 kB / 0.6664 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1556, allocations: 199.2 kB / 0.6666 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.1557, allocations: 112.9 kB / 0.6667 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1558, allocations: 0 / 0.6667 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.1559, allocations: 11.94 kB / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1559, allocations: 11.92 kB / 0.6667 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1559, allocations: 8 kB / 0.6667 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003649/0.1563, allocations: 383.1 kB / 0.6671 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1563, allocations: 0 / 0.6671 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002396/0.1565, allocations: 27.94 kB / 0.6671 GB, free: 5.562 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.001183/0.1577, allocations: 0.9692 MB / 0.6681 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.158, allocations: 47.94 kB / 0.6681 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.158, allocations: 8 kB / 0.6681 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.1581, allocations: 19.98 kB / 0.6681 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1585, allocations: 48.31 kB / 0.6682 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.1613, allocations: 2.601 MB / 0.6707 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1616, allocations: 0.7749 MB / 0.6715 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.798e-05/0.1617, allocations: 33.94 kB / 0.6715 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1619, allocations: 91.39 kB / 0.6716 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1619, allocations: 3.938 kB / 0.6716 GB, free: 1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.1822, allocations: 5.013 MB / 0.6765 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.607, allocations: 4.531 kB / 0.6765 GB, free: 12.09 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)