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.001527/0.001527, allocations: 107 kB / 16.45 MB, free: 6.508 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.001563/0.001563, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.36/1.36, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.7934/0.7934, allocations: 134 MB / 442.8 MB, free: 11.72 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.001863/0.001863, allocations: 66.59 kB / 0.6134 GB, free: 8.812 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 85.85 MB / 0.6972 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005606/0.1667, allocations: 4.12 MB / 0.7013 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1693, allocations: 1.371 MB / 0.7026 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.1697, allocations: 31.75 kB / 0.7026 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.1701, allocations: 130.6 kB / 0.7027 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1705, allocations: 182.4 kB / 0.7029 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.1713, allocations: 415.7 kB / 0.7033 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1724, allocations: 0.9554 MB / 0.7043 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.1729, allocations: 306.5 kB / 0.7045 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.1734, allocations: 346.7 kB / 0.7049 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.1737, allocations: 338.3 kB / 0.7052 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1738, allocations: 92 kB / 0.7053 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.174, allocations: 92 kB / 0.7054 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1741, allocations: 167.5 kB / 0.7055 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.1745, allocations: 398 kB / 0.7059 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1756, allocations: 1.062 MB / 0.707 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1756, allocations: 0 / 0.707 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1756, allocations: 3.938 kB / 0.707 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.1756, allocations: 0 / 0.707 GB, free: 9.016 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.001965/0.1776, allocations: 1.104 MB / 0.708 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1776, allocations: 9.109 kB / 0.708 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1777, allocations: 102.7 kB / 0.7081 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1779, allocations: 84.42 kB / 0.7082 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/0.1788, allocations: 0.5694 MB / 0.7088 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.1788, allocations: 45.69 kB / 0.7088 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.1789, allocations: 56.38 kB / 0.7089 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.18, allocations: 0.6077 MB / 0.7095 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1801, allocations: 15.88 kB / 0.7095 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1801, allocations: 24 kB / 0.7095 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1801, allocations: 12 kB / 0.7095 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1811, allocations: 461 kB / 0.71 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.1841, allocations: 1.993 MB / 0.7119 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/0.1851, allocations: 421 kB / 0.7123 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.1855, allocations: 230 kB / 0.7125 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.1856, allocations: 4.438 kB / 0.7125 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/0.1862, allocations: 265.2 kB / 0.7128 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 3.095e-06/0.1862, allocations: 0 / 0.7128 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001347/0.1875, allocations: 0.5885 MB / 0.7134 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.1876, allocations: 59.84 kB / 0.7134 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.1881, allocations: 446.7 kB / 0.7138 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.1882, allocations: 33.7 kB / 0.7139 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.1884, allocations: 324.9 kB / 0.7142 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.1886, allocations: 174.5 kB / 0.7143 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.1887, allocations: 94.19 kB / 0.7144 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1889, allocations: 362.8 kB / 0.7148 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.1893, allocations: 177 kB / 0.715 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.1898, allocations: 245.8 kB / 0.7152 GB, free: 292 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/0.1906, allocations: 460 kB / 0.7156 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1906, allocations: 0 / 0.7156 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001107/0.1917, allocations: 0.5667 MB / 0.7162 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.1918, allocations: 33.7 kB / 0.7162 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1918, allocations: 7.984 kB / 0.7162 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1918, allocations: 4 kB / 0.7162 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.1923, allocations: 111.8 kB / 0.7163 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1923, allocations: 4 kB / 0.7163 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.1926, allocations: 59.61 kB / 0.7164 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.1927, allocations: 23.98 kB / 0.7164 GB, free: 14.97 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002778/0.1929, allocations: 216.5 kB / 0.7166 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.193, allocations: 59.56 kB / 0.7167 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.1932, allocations: 69.58 kB / 0.7167 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1932, allocations: 4 kB / 0.7167 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1932, allocations: 0 / 0.7167 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1932, allocations: 0 / 0.7167 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.195, allocations: 1.182 MB / 0.7179 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.195, allocations: 0 / 0.7179 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.1955, allocations: 99.81 kB / 0.718 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1955, allocations: 4 kB / 0.718 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1955, allocations: 4 kB / 0.718 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1955, allocations: 7.984 kB / 0.718 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1955, allocations: 0 / 0.718 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1969, allocations: 0.7654 MB / 0.7188 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.1971, allocations: 176.6 kB / 0.7189 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.1972, allocations: 12 kB / 0.7189 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.1975, allocations: 27.97 kB / 0.719 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1976, allocations: 36.39 kB / 0.719 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.1976, allocations: 8 kB / 0.719 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003634/0.198, allocations: 310.9 kB / 0.7193 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.198, allocations: 0 / 0.7193 GB, free: 11.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004539/0.1984, allocations: 147.6 kB / 0.7194 GB, free: 11.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.001737/0.2002, allocations: 1.317 MB / 0.7207 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009763/0.2011, allocations: 465.1 kB / 0.7212 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2011, allocations: 0 / 0.7212 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.2016, allocations: 202.4 kB / 0.7214 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.2023, allocations: 161.5 kB / 0.7215 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007608/0.2099, allocations: 4.814 MB / 0.7262 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.2105, allocations: 0.8899 MB / 0.7271 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.2108, allocations: 64.58 kB / 0.7272 GB, free: 3.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.2111, allocations: 219.4 kB / 0.7274 GB, free: 3.457 MB / 0.545 GB Notification: Performance of SimCode: time 1.533e-06/0.2111, allocations: 0 / 0.7274 GB, free: 3.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.2509, allocations: 11.37 MB / 0.7385 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/8.728, allocations: 11.98 kB / 0.7385 GB, free: 8.281 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.840462003005086] Failed to read output from testmodel.py, exit status != 0: 8.798259039002005 9.086236322 8.907797922 Calling exit ...