Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001529/0.001529, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001728/0.001728, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.992 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.796/0.796, allocations: 134 MB / 446.4 MB, free: 10.25 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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",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.001879/0.001879, allocations: 68.33 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.157, allocations: 85.91 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005558/0.1626, allocations: 4.149 MB / 0.7065 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1652, allocations: 1.379 MB / 0.7078 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.1656, allocations: 35.75 kB / 0.7078 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.166, allocations: 122.8 kB / 0.708 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1663, allocations: 182.4 kB / 0.7081 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.1672, allocations: 440 kB / 0.7086 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1683, allocations: 0.9515 MB / 0.7095 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.1688, allocations: 310.6 kB / 0.7098 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.1692, allocations: 342.7 kB / 0.7101 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.1696, allocations: 334.3 kB / 0.7104 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1697, allocations: 92 kB / 0.7105 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1698, allocations: 92 kB / 0.7106 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.17, allocations: 179.4 kB / 0.7108 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.1703, allocations: 394 kB / 0.7111 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1714, allocations: 1.066 MB / 0.7122 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1714, allocations: 0 / 0.7122 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1714, allocations: 0 / 0.7122 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.1714, allocations: 0 / 0.7122 GB, free: 7.344 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001892/0.1733, allocations: 1.08 MB / 0.7132 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1733, allocations: 12.03 kB / 0.7133 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.1735, allocations: 102.7 kB / 0.7134 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1736, allocations: 84.42 kB / 0.7134 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.1745, allocations: 0.5077 MB / 0.7139 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.1746, allocations: 49.62 kB / 0.714 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.1747, allocations: 60.33 kB / 0.714 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1757, allocations: 0.6038 MB / 0.7146 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.1757, allocations: 4 kB / 0.7146 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.1758, allocations: 31.94 kB / 0.7147 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1758, allocations: 12 kB / 0.7147 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009461/0.1767, allocations: 453 kB / 0.7151 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.1796, allocations: 1.951 MB / 0.717 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/0.1805, allocations: 425.6 kB / 0.7174 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.181, allocations: 222.1 kB / 0.7176 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.181, allocations: 8.438 kB / 0.7176 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005393/0.1815, allocations: 261.2 kB / 0.7179 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 1.873e-06/0.1815, allocations: 0 / 0.7179 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001246/0.1828, allocations: 0.5807 MB / 0.7184 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.1828, allocations: 63.84 kB / 0.7185 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.1833, allocations: 442 kB / 0.7189 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.1834, allocations: 41.69 kB / 0.719 GB, free: 176 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.1837, allocations: 329 kB / 0.7193 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.1838, allocations: 178.4 kB / 0.7195 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.184, allocations: 94.3 kB / 0.7195 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1841, allocations: 362.8 kB / 0.7199 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.1845, allocations: 169.2 kB / 0.7201 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.185, allocations: 254.6 kB / 0.7203 GB, free: 14.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008057/0.1858, allocations: 451 kB / 0.7207 GB, free: 14.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1858, allocations: 0 / 0.7207 GB, free: 14.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00103/0.1868, allocations: 0.5651 MB / 0.7213 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.1869, allocations: 35.58 kB / 0.7213 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1869, allocations: 0 / 0.7213 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1869, allocations: 8 kB / 0.7213 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.1874, allocations: 112.1 kB / 0.7214 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1874, allocations: 11.98 kB / 0.7214 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.1877, allocations: 55.66 kB / 0.7215 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.1877, allocations: 20 kB / 0.7215 GB, free: 13.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002676/0.188, allocations: 209.7 kB / 0.7217 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.1881, allocations: 63.56 kB / 0.7218 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.1882, allocations: 57.59 kB / 0.7218 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.1882, allocations: 15.98 kB / 0.7218 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1882, allocations: 0 / 0.7218 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1882, allocations: 0 / 0.7218 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.19, allocations: 1.146 MB / 0.723 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.19, allocations: 7.875 kB / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.1905, allocations: 103.9 kB / 0.7231 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1905, allocations: 0 / 0.7231 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.1905, allocations: 12 kB / 0.7231 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1905, allocations: 4 kB / 0.7231 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1905, allocations: 0 / 0.7231 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.1918, allocations: 0.7652 MB / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.192, allocations: 87.59 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.1921, allocations: 15.98 kB / 0.7239 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1923, allocations: 19.98 kB / 0.7239 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.1924, allocations: 40.3 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1924, allocations: 16 kB / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003488/0.1928, allocations: 310.9 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1928, allocations: 4 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004374/0.1932, allocations: 147.6 kB / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001642/0.1949, allocations: 1.309 MB / 0.7257 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009395/0.1958, allocations: 460.7 kB / 0.7262 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1958, allocations: 0.5 kB / 0.7262 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.1962, allocations: 210.4 kB / 0.7264 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.197, allocations: 156.6 kB / 0.7265 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.2042, allocations: 4.799 MB / 0.7312 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.2048, allocations: 0.8939 MB / 0.7321 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.205, allocations: 60.59 kB / 0.7321 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.2053, allocations: 219.4 kB / 0.7323 GB, free: 2.109 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.2053, allocations: 0 / 0.7323 GB, free: 2.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04297/0.2483, allocations: 11.81 MB / 0.7439 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.94, allocations: 4.094 kB / 0.7439 GB, free: 6.531 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.08223626200197] Failed to read output from testmodel.py, exit status != 0: 12.04893830599758 12.347638755 12.172940975 Calling exit ...