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.007678/0.007678, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001808/0.001808, allocations: 193 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.773/0.773, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 63.06 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1634, 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.002971/0.1664, allocations: 1.645 MB / 0.6608 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.1674, allocations: 0.5185 MB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.1675, allocations: 4 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.1681, allocations: 178.7 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.1685, allocations: 165.8 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.1689, allocations: 191.7 kB / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.1692, allocations: 203.5 kB / 0.662 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1693, allocations: 41.73 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1695, allocations: 79.73 kB / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1697, allocations: 167.5 kB / 0.6623 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.1697, allocations: 12 kB / 0.6623 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1699, allocations: 43.97 kB / 0.6623 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.17, allocations: 71.81 kB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1701, allocations: 99.22 kB / 0.6625 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1704, allocations: 266.8 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1704, allocations: 0 / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1705, allocations: 0 / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1705, allocations: 0 / 0.6627 GB, free: 10.41 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.0008455/0.1713, allocations: 0.5951 MB / 0.6633 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1714, allocations: 8.031 kB / 0.6633 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.1714, allocations: 42.73 kB / 0.6634 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.1715, allocations: 28.75 kB / 0.6634 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.172, allocations: 374.6 kB / 0.6637 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.172, allocations: 4.375 kB / 0.6637 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.172, allocations: 4.375 kB / 0.6638 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1722, allocations: 73.59 kB / 0.6638 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1722, allocations: 0 / 0.6638 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1723, allocations: 8 kB / 0.6638 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1723, allocations: 0 / 0.6638 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.1725, allocations: 59.88 kB / 0.6639 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.173, allocations: 420.6 kB / 0.6643 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1732, allocations: 54.59 kB / 0.6643 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.1734, allocations: 24.89 kB / 0.6644 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1734, allocations: 7.984 kB / 0.6644 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1734, allocations: 30.56 kB / 0.6644 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1734, allocations: 3.938 kB / 0.6644 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004028/0.1738, allocations: 121.5 kB / 0.6645 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1739, allocations: 51.41 kB / 0.6646 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1745, allocations: 0.521 MB / 0.6651 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1745, allocations: 25.7 kB / 0.6651 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1747, allocations: 164 kB / 0.6653 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1747, allocations: 11.91 kB / 0.6653 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1748, allocations: 17.7 kB / 0.6653 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1749, allocations: 342.8 kB / 0.6656 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1751, allocations: 19.98 kB / 0.6656 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.1752, allocations: 23.97 kB / 0.6657 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1753, allocations: 45.11 kB / 0.6657 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1753, allocations: 0 / 0.6657 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002403/0.1756, allocations: 105.5 kB / 0.6658 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1756, allocations: 4 kB / 0.6658 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1756, allocations: 0 / 0.6658 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1756, allocations: 3.938 kB / 0.6658 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.1757, allocations: 11.98 kB / 0.6658 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1757, allocations: 0 / 0.6658 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.1758, allocations: 15.92 kB / 0.6658 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1758, allocations: 4 kB / 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.0001515/0.176, allocations: 165.8 kB / 0.666 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.176, allocations: 31.81 kB / 0.666 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1763, allocations: 104.1 kB / 0.6661 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1763, allocations: 4 kB / 0.6661 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1764, allocations: 0 / 0.6661 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1764, allocations: 3.938 kB / 0.6661 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1766, allocations: 261.5 kB / 0.6664 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1767, allocations: 0 / 0.6664 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.1767, allocations: 15.92 kB / 0.6664 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1767, allocations: 4 kB / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1767, allocations: 0 / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1768, allocations: 0 / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1768, allocations: 0 / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1771, allocations: 199.2 kB / 0.6666 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.1772, allocations: 112.9 kB / 0.6667 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1772, allocations: 4 kB / 0.6667 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.1773, allocations: 15.92 kB / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1773, allocations: 3.938 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1774, allocations: 0 / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004191/0.1778, allocations: 387.1 kB / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1778, allocations: 0 / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002536/0.178, allocations: 27.92 kB / 0.6671 GB, free: 5.574 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.005459/0.1835, allocations: 0.986 MB / 0.6681 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.184, allocations: 51.94 kB / 0.6681 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.184, allocations: 0 / 0.6681 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.1842, allocations: 23.92 kB / 0.6682 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.0007422/0.185, allocations: 41.47 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.005476/0.1905, allocations: 2.603 MB / 0.6707 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/0.1912, allocations: 0.7704 MB / 0.6715 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.1913, allocations: 37.86 kB / 0.6715 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.1915, allocations: 87.41 kB / 0.6716 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.1916, allocations: 4 kB / 0.6716 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.2287, allocations: 5.008 MB / 0.6765 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/8.808, allocations: 12.25 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)