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.001298/0.001298, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001518/0.001518, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8087/0.8087, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",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.001942/0.001942, allocations: 63.06 kB / 0.6193 GB, free: 7.273 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.156, allocations: 85.91 MB / 0.7032 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005809/0.1618, allocations: 4.149 MB / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.1645, allocations: 1.375 MB / 0.7086 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004666/0.165, allocations: 31.75 kB / 0.7086 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.1653, allocations: 126.8 kB / 0.7087 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.1657, allocations: 182.4 kB / 0.7089 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.1667, allocations: 436.1 kB / 0.7093 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1678, allocations: 0.9476 MB / 0.7102 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.1684, allocations: 310.6 kB / 0.7105 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.1688, allocations: 346.7 kB / 0.7109 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.1692, allocations: 338.3 kB / 0.7112 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.1693, allocations: 92 kB / 0.7113 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1695, allocations: 88 kB / 0.7114 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1696, allocations: 175.5 kB / 0.7115 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.17, allocations: 398 kB / 0.7119 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.1711, allocations: 1.058 MB / 0.7129 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1711, allocations: 0 / 0.7129 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1711, allocations: 0 / 0.7129 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.1711, allocations: 0 / 0.7129 GB, free: 7.383 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.002011/0.1731, allocations: 1.088 MB / 0.714 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1732, allocations: 8.031 kB / 0.714 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.816e-05/0.1732, allocations: 17.44 kB / 0.714 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1733, allocations: 106.7 kB / 0.7141 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1735, allocations: 88.42 kB / 0.7142 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.1744, allocations: 0.4999 MB / 0.7147 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.1745, allocations: 45.69 kB / 0.7147 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.1746, allocations: 68.27 kB / 0.7148 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1757, allocations: 0.6036 MB / 0.7154 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1757, allocations: 7.938 kB / 0.7154 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.1758, allocations: 24 kB / 0.7154 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.1758, allocations: 16 kB / 0.7154 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1768, allocations: 461 kB / 0.7159 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.1798, allocations: 1.943 MB / 0.7178 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.1808, allocations: 423.6 kB / 0.7182 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.1812, allocations: 225.9 kB / 0.7184 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1813, allocations: 8.422 kB / 0.7184 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.1818, allocations: 269.2 kB / 0.7187 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.1818, allocations: 0 / 0.7187 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001383/0.1832, allocations: 0.5885 MB / 0.7192 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1833, allocations: 55.84 kB / 0.7193 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.1839, allocations: 450 kB / 0.7197 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.1839, allocations: 29.7 kB / 0.7198 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.1842, allocations: 328.9 kB / 0.7201 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.1843, allocations: 170.5 kB / 0.7202 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1845, allocations: 98.28 kB / 0.7203 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1847, allocations: 362.8 kB / 0.7207 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1851, allocations: 173.2 kB / 0.7208 GB, free: 15.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.1855, allocations: 250.6 kB / 0.7211 GB, free: 14.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.1864, allocations: 451 kB / 0.7215 GB, free: 14.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1864, allocations: 0 / 0.7215 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.1875, allocations: 0.5691 MB / 0.7221 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.1875, allocations: 33.7 kB / 0.7221 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1875, allocations: 4 kB / 0.7221 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1876, allocations: 4 kB / 0.7221 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.1881, allocations: 111.8 kB / 0.7222 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1881, allocations: 4 kB / 0.7222 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.1884, allocations: 63.64 kB / 0.7223 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1884, allocations: 20.12 kB / 0.7223 GB, free: 13.49 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.0002827/0.1887, allocations: 214.5 kB / 0.7225 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/0.1888, allocations: 59.56 kB / 0.7226 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.1889, allocations: 65.53 kB / 0.7226 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1889, allocations: 4 kB / 0.7226 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.189, allocations: 0 / 0.7226 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.189, allocations: 3.984 kB / 0.7226 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.1908, allocations: 1.15 MB / 0.7237 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1908, allocations: 0 / 0.7237 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.1913, allocations: 95.81 kB / 0.7238 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.1913, allocations: 4 kB / 0.7238 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.1913, allocations: 12 kB / 0.7239 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1913, allocations: 4 kB / 0.7239 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1913, allocations: 0 / 0.7239 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1927, allocations: 0.7613 MB / 0.7246 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.1929, allocations: 95.58 kB / 0.7247 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.193, allocations: 11.98 kB / 0.7247 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.1933, allocations: 31.97 kB / 0.7247 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.1934, allocations: 36.36 kB / 0.7248 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.1934, allocations: 12 kB / 0.7248 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003645/0.1938, allocations: 314.8 kB / 0.7251 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1938, allocations: 0 / 0.7251 GB, free: 10.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004739/0.1942, allocations: 155.5 kB / 0.7252 GB, free: 10.41 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.001746/0.196, allocations: 1.307 MB / 0.7265 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009799/0.197, allocations: 464.7 kB / 0.7269 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.197, allocations: 0 / 0.7269 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.1974, allocations: 206.4 kB / 0.7271 GB, free: 8.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.1982, allocations: 153.1 kB / 0.7273 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/0.2059, allocations: 4.799 MB / 0.732 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.2064, allocations: 0.89 MB / 0.7328 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.2067, allocations: 68.58 kB / 0.7329 GB, free: 2.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.2071, allocations: 215.4 kB / 0.7331 GB, free: 2.125 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.2071, allocations: 4 kB / 0.7331 GB, free: 2.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08063/0.2877, allocations: 11.83 MB / 0.7447 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.12, allocations: 9.938 kB / 0.7447 GB, free: 6.523 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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: 15.885811830987222] Failed to read output from testmodel.py, exit status != 0: 12.286548703094013 12.575840629 12.401784988 Calling exit ...