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.00128/0.00128, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001554/0.001554, allocations: 214.8 kB / 22.24 MB, free: 5.242 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 179] 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.7784/0.7784, 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.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.002188/0.002188, allocations: 66.88 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1586, allocations: 85.91 MB / 0.7023 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005944/0.1646, allocations: 3.724 MB / 0.706 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1675, allocations: 1.329 MB / 0.7073 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.1682, allocations: 31.81 kB / 0.7073 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.1688, allocations: 130.7 kB / 0.7074 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.1694, allocations: 182.4 kB / 0.7076 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1705, allocations: 421.6 kB / 0.708 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1718, allocations: 0.9516 MB / 0.7089 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.1724, allocations: 290.5 kB / 0.7092 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.173, allocations: 346.7 kB / 0.7096 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004896/0.1735, allocations: 286.4 kB / 0.7098 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.1736, allocations: 95.94 kB / 0.7099 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1738, allocations: 92 kB / 0.71 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.174, allocations: 175.4 kB / 0.7102 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.1744, allocations: 310.5 kB / 0.7105 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1756, allocations: 1.074 MB / 0.7115 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1756, allocations: 0 / 0.7115 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.385e-06/0.1756, allocations: 4 kB / 0.7115 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.1757, allocations: 3.938 kB / 0.7115 GB, free: 7.621 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.002502/0.1782, allocations: 1.084 MB / 0.7126 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1782, allocations: 8.031 kB / 0.7126 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.1784, allocations: 102.7 kB / 0.7127 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1786, allocations: 84.42 kB / 0.7128 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1797, allocations: 0.5038 MB / 0.7133 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.1797, allocations: 41.69 kB / 0.7133 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1798, allocations: 68.31 kB / 0.7134 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.181, allocations: 0.6656 MB / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.181, allocations: 0 / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.1811, allocations: 20 kB / 0.714 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1811, allocations: 16 kB / 0.714 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1821, allocations: 457 kB / 0.7145 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.1852, allocations: 1.779 MB / 0.7162 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.1861, allocations: 422.2 kB / 0.7166 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.1865, allocations: 222 kB / 0.7168 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.1866, allocations: 12.42 kB / 0.7168 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.1871, allocations: 261.3 kB / 0.7171 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.1871, allocations: 0 / 0.7171 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001334/0.1885, allocations: 0.5807 MB / 0.7177 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.1885, allocations: 59.84 kB / 0.7177 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.1891, allocations: 449.9 kB / 0.7182 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.1891, allocations: 37.7 kB / 0.7182 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.1894, allocations: 324.9 kB / 0.7185 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1895, allocations: 178.5 kB / 0.7187 GB, free: 64 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.1897, allocations: 98.3 kB / 0.7188 GB, free: 15.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1899, allocations: 366.8 kB / 0.7191 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.1903, allocations: 194.9 kB / 0.7193 GB, free: 15.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.1908, allocations: 276.3 kB / 0.7196 GB, free: 15.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.1916, allocations: 455 kB / 0.72 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1916, allocations: 3.938 kB / 0.72 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001084/0.1927, allocations: 0.5941 MB / 0.7206 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.1927, allocations: 33.7 kB / 0.7206 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1927, allocations: 0 / 0.7206 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.1927, allocations: 8 kB / 0.7206 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.1932, allocations: 107.9 kB / 0.7207 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1932, allocations: 12.17 kB / 0.7207 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.1936, allocations: 59.66 kB / 0.7208 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.1936, allocations: 16 kB / 0.7208 GB, free: 13.76 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.000262/0.1939, allocations: 211.3 kB / 0.721 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.1939, allocations: 63.5 kB / 0.7211 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.1941, allocations: 65.59 kB / 0.7211 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1941, allocations: 11.94 kB / 0.7211 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1941, allocations: 3.984 kB / 0.7211 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1941, allocations: 7.984 kB / 0.7212 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.1958, allocations: 1.072 MB / 0.7222 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1958, allocations: 0 / 0.7222 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.1963, allocations: 95.88 kB / 0.7223 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.1963, allocations: 4 kB / 0.7223 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.1963, allocations: 11.94 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1963, allocations: 3.938 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1963, allocations: 4 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.1977, allocations: 0.7652 MB / 0.7231 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.1978, allocations: 95.56 kB / 0.7232 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.1979, allocations: 11.98 kB / 0.7232 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1982, allocations: 23.98 kB / 0.7232 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.1983, allocations: 40.36 kB / 0.7232 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.1983, allocations: 12 kB / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003474/0.1986, allocations: 306.9 kB / 0.7235 GB, free: 10.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1986, allocations: 0 / 0.7235 GB, free: 10.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004297/0.1991, allocations: 147.6 kB / 0.7237 GB, free: 10.75 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.001653/0.2007, allocations: 1.32 MB / 0.725 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009563/0.2017, allocations: 490.4 kB / 0.7254 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2017, allocations: 0 / 0.7254 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.2021, allocations: 202.9 kB / 0.7256 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.2028, allocations: 153.3 kB / 0.7258 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007334/0.2102, allocations: 4.914 MB / 0.7306 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2105, allocations: 288.7 kB / 0.7308 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.2107, allocations: 68.52 kB / 0.7309 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2111, allocations: 219.4 kB / 0.7311 GB, free: 2.898 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.2111, allocations: 0 / 0.7311 GB, free: 2.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.2555, allocations: 12.41 MB / 0.7432 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.11, allocations: 7.172 kB / 0.7432 GB, free: 6.773 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.815089204348624] Failed to read output from testmodel.py, exit status != 0: 11.232049731072038 11.521599734 11.342839446 Calling exit ...