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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 213.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8206/0.8206, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 66.09 kB / 0.6184 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1605, allocations: 85.91 MB / 0.7023 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.0035/0.164, allocations: 1.658 MB / 0.704 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1652, allocations: 0.647 MB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1653, allocations: 3.938 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.1659, allocations: 181.8 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.1665, allocations: 204.2 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1669, allocations: 197.1 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1673, allocations: 215.5 kB / 0.7054 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1674, allocations: 34 kB / 0.7054 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1675, allocations: 91.59 kB / 0.7055 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1678, allocations: 175.5 kB / 0.7057 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1679, allocations: 12 kB / 0.7057 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.168, allocations: 40 kB / 0.7057 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1681, allocations: 83.73 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.1682, allocations: 75.34 kB / 0.7059 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.1686, allocations: 282.8 kB / 0.7061 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1686, allocations: 0 / 0.7061 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1686, allocations: 0 / 0.7061 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.1686, allocations: 4 kB / 0.7061 GB, free: 13.19 MB / 0.5294 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.0009024/0.1695, allocations: 0.5333 MB / 0.7066 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1695, allocations: 11.97 kB / 0.7067 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.1696, allocations: 38.75 kB / 0.7067 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.1696, allocations: 36.69 kB / 0.7067 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.1702, allocations: 312.8 kB / 0.707 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1702, allocations: 384 / 0.707 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1702, allocations: 8.375 kB / 0.707 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1704, allocations: 73.53 kB / 0.7071 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1704, allocations: 7.938 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1704, allocations: 4 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1704, allocations: 4 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1706, allocations: 51.95 kB / 0.7072 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.1712, allocations: 387.6 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1713, allocations: 42.62 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1714, allocations: 28.83 kB / 0.7076 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1715, allocations: 4 kB / 0.7076 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1715, allocations: 30.56 kB / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1715, allocations: 0 / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004047/0.1719, allocations: 125.4 kB / 0.7078 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.172, allocations: 51.41 kB / 0.7078 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.1726, allocations: 0.5328 MB / 0.7083 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1726, allocations: 25.7 kB / 0.7084 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1727, allocations: 180 kB / 0.7085 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1728, allocations: 11.88 kB / 0.7085 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1728, allocations: 17.72 kB / 0.7086 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1729, allocations: 346.8 kB / 0.7089 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.173, allocations: 15.98 kB / 0.7089 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.1731, allocations: 15.98 kB / 0.7089 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1733, allocations: 48.81 kB / 0.709 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1733, allocations: 4 kB / 0.709 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000235/0.1735, allocations: 101.4 kB / 0.7091 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1735, allocations: 4 kB / 0.7091 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1735, allocations: 4 kB / 0.7091 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1735, allocations: 336 / 0.7091 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.1736, allocations: 11.98 kB / 0.7091 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1736, allocations: 0 / 0.7091 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.1737, allocations: 15.88 kB / 0.7091 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1737, allocations: 0 / 0.7091 GB, free: 9.953 MB / 0.5294 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.000153/0.1739, allocations: 173.8 kB / 0.7093 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.1739, allocations: 35.81 kB / 0.7093 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1742, allocations: 112.2 kB / 0.7094 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1742, allocations: 4 kB / 0.7094 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1742, allocations: 0 / 0.7094 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1742, allocations: 3.938 kB / 0.7094 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1745, allocations: 220.7 kB / 0.7096 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1745, allocations: 3.938 kB / 0.7096 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.1745, allocations: 15.98 kB / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1745, allocations: 0 / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1746, allocations: 0 / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1746, allocations: 0 / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1746, allocations: 0 / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1748, allocations: 211.2 kB / 0.7098 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.1749, allocations: 31.81 kB / 0.7099 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1749, allocations: 0 / 0.7099 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.175, allocations: 11.92 kB / 0.7099 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.1751, allocations: 15.92 kB / 0.7099 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1751, allocations: 8 kB / 0.7099 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004458/0.1755, allocations: 395.1 kB / 0.7103 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1755, allocations: 3.938 kB / 0.7103 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002533/0.1758, allocations: 23.94 kB / 0.7103 GB, free: 8.633 MB / 0.5294 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.001777/0.1776, allocations: 0.9997 MB / 0.7113 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1778, allocations: 43.89 kB / 0.7113 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1778, allocations: 0 / 0.7113 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.1779, allocations: 23.97 kB / 0.7114 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1783, allocations: 55.95 kB / 0.7114 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.1816, allocations: 2.649 MB / 0.714 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1817, allocations: 176.7 kB / 0.7142 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.387e-05/0.1818, allocations: 37.92 kB / 0.7142 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.182, allocations: 87.41 kB / 0.7143 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.182, allocations: 0 / 0.7143 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.2202, allocations: 5.896 MB / 0.72 GB, free: 14.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.98, allocations: 7.938 kB / 0.72 GB, free: 14.78 MB / 0.545 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.552756942808628] Failed to read output from testmodel.py, exit status != 0: 11.133078636135906 11.150269792 10.97858391 Calling exit ...