Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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.001795/0.001795, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001349/0.001349, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.357/1.357, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.884/0.884, allocations: 133.9 MB / 442.8 MB, free: 11.27 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.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",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.001878/0.001878, allocations: 61.53 kB / 0.6134 GB, free: 8.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 85.86 MB / 0.6972 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005104/0.1602, allocations: 3.713 MB / 0.7009 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.1629, allocations: 1.371 MB / 0.7022 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.1633, allocations: 35.75 kB / 0.7022 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1636, allocations: 126.6 kB / 0.7024 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.1642, allocations: 178.5 kB / 0.7025 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1654, allocations: 0.5715 MB / 0.7031 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1666, allocations: 0.9565 MB / 0.704 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004765/0.167, allocations: 253.9 kB / 0.7043 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.1676, allocations: 378.4 kB / 0.7046 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.168, allocations: 366 kB / 0.705 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.1681, allocations: 80 kB / 0.705 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1683, allocations: 80 kB / 0.7051 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1684, allocations: 179.3 kB / 0.7053 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.1688, allocations: 381.7 kB / 0.7057 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1698, allocations: 0.9061 MB / 0.7065 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1698, allocations: 0 / 0.7065 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1698, allocations: 0 / 0.7065 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.1698, allocations: 3.938 kB / 0.7065 GB, free: 9.398 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00223/0.1721, allocations: 1.206 MB / 0.7077 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1721, allocations: 13.11 kB / 0.7077 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.1722, allocations: 90.7 kB / 0.7078 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1724, allocations: 100.3 kB / 0.7079 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1735, allocations: 0.6228 MB / 0.7085 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.1736, allocations: 105 kB / 0.7086 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.1737, allocations: 56.33 kB / 0.7087 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1749, allocations: 0.6087 MB / 0.7093 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1749, allocations: 4 kB / 0.7093 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.175, allocations: 20 kB / 0.7093 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.175, allocations: 12 kB / 0.7093 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.176, allocations: 435.6 kB / 0.7097 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.179, allocations: 2.095 MB / 0.7118 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.1802, allocations: 495 kB / 0.7122 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.1807, allocations: 208.8 kB / 0.7124 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.1808, allocations: 4 kB / 0.7124 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/0.1815, allocations: 286.1 kB / 0.7127 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.1815, allocations: 0 / 0.7127 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.00158/0.183, allocations: 0.622 MB / 0.7133 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.1831, allocations: 114.6 kB / 0.7134 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.1839, allocations: 0.61 MB / 0.714 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.184, allocations: 41.64 kB / 0.7141 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.1843, allocations: 366.4 kB / 0.7144 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.1844, allocations: 162.6 kB / 0.7146 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.1846, allocations: 98.23 kB / 0.7147 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1848, allocations: 326 kB / 0.715 GB, free: 436 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.1852, allocations: 187 kB / 0.7152 GB, free: 244 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.1858, allocations: 289.1 kB / 0.7154 GB, free: 15.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.1868, allocations: 481.9 kB / 0.7159 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1868, allocations: 0 / 0.7159 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001332/0.1881, allocations: 0.6025 MB / 0.7165 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.1882, allocations: 33.7 kB / 0.7165 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1882, allocations: 3.938 kB / 0.7165 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.1882, allocations: 7.984 kB / 0.7165 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.1887, allocations: 112.1 kB / 0.7166 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1887, allocations: 8 kB / 0.7166 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.1892, allocations: 67.59 kB / 0.7167 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.1892, allocations: 20 kB / 0.7167 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006211/0.1898, allocations: 313.2 kB / 0.717 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004956/0.1903, allocations: 277.1 kB / 0.7173 GB, free: 13.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008751/0.1912, allocations: 454 kB / 0.7177 GB, free: 13.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.1912, allocations: 0 / 0.7177 GB, free: 13.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001191/0.1924, allocations: 0.5908 MB / 0.7183 GB, free: 12.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.1924, allocations: 29.7 kB / 0.7183 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1924, allocations: 4 kB / 0.7183 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.1924, allocations: 4 kB / 0.7183 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.1929, allocations: 111.8 kB / 0.7184 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1929, allocations: 4 kB / 0.7184 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.1933, allocations: 56 kB / 0.7185 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1934, allocations: 20 kB / 0.7185 GB, free: 12.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002241/0.1936, allocations: 220 kB / 0.7187 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1937, allocations: 79.48 kB / 0.7188 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.1939, allocations: 75.2 kB / 0.7189 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1939, allocations: 8 kB / 0.7189 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1939, allocations: 0 / 0.7189 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1939, allocations: 7.984 kB / 0.7189 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.1946, allocations: 0.6258 MB / 0.7195 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1947, allocations: 0 / 0.7195 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.1951, allocations: 83.89 kB / 0.7196 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1951, allocations: 0 / 0.7196 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.1952, allocations: 15.98 kB / 0.7196 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1952, allocations: 0 / 0.7196 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1952, allocations: 3.984 kB / 0.7196 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.1967, allocations: 0.7485 MB / 0.7203 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.197, allocations: 196.5 kB / 0.7205 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.1971, allocations: 12 kB / 0.7205 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.1975, allocations: 39.95 kB / 0.7206 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.1976, allocations: 27.95 kB / 0.7206 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.1977, allocations: 23.92 kB / 0.7206 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005399/0.1982, allocations: 435 kB / 0.721 GB, free: 9.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1982, allocations: 0 / 0.721 GB, free: 9.934 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009358/0.1991, allocations: 215.5 kB / 0.7212 GB, free: 9.723 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.001966/0.2011, allocations: 1.291 MB / 0.7225 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.2028, allocations: 0.7541 MB / 0.7232 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2028, allocations: 4 kB / 0.7232 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.2033, allocations: 212.2 kB / 0.7234 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.2042, allocations: 199.4 kB / 0.7236 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/0.2127, allocations: 5.4 MB / 0.7289 GB, free: 1.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.2132, allocations: 0.9178 MB / 0.7298 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.2137, allocations: 101.1 kB / 0.7299 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.214, allocations: 263.3 kB / 0.7301 GB, free: 376 kB / 0.545 GB Notification: Performance of SimCode: time 1.312e-06/0.214, allocations: 0 / 0.7301 GB, free: 376 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.258, allocations: 14.2 MB / 0.744 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/9.184, allocations: 0.875 kB / 0.744 GB, free: 2.367 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.LimPID_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_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.985348571994109] Failed to read output from testmodel.py, exit status != 0: 9.258501363001415 9.525347641 9.353199848 Calling exit ...