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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.7767/0.7767, allocations: 134 MB / 436.6 MB, free: 1.254 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 73.36 kB / 0.6051 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, allocations: 84.67 MB / 0.6878 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005392/0.1648, allocations: 4.124 MB / 0.6918 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1674, allocations: 1.328 MB / 0.6931 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.1678, allocations: 27.81 kB / 0.6931 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1681, allocations: 122.8 kB / 0.6932 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.1685, allocations: 186.3 kB / 0.6934 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.1693, allocations: 427.8 kB / 0.6938 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009708/0.1703, allocations: 0.9554 MB / 0.6948 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.1708, allocations: 310.5 kB / 0.695 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.1712, allocations: 338.7 kB / 0.6954 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.1716, allocations: 334.4 kB / 0.6957 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1717, allocations: 92 kB / 0.6958 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1718, allocations: 95.94 kB / 0.6959 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1719, allocations: 179.3 kB / 0.696 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.1722, allocations: 390.1 kB / 0.6964 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1733, allocations: 1.074 MB / 0.6975 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1733, allocations: 0 / 0.6975 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1733, allocations: 0 / 0.6975 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.1733, allocations: 0 / 0.6975 GB, free: 1.148 MB / 0.5137 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.001861/0.1752, allocations: 1.098 MB / 0.6985 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1752, allocations: 12.03 kB / 0.6985 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.1753, allocations: 102.7 kB / 0.6986 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1755, allocations: 88.42 kB / 0.6987 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.1764, allocations: 0.5616 MB / 0.6993 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.1764, allocations: 49.67 kB / 0.6993 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.1765, allocations: 60.38 kB / 0.6994 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1775, allocations: 0.6077 MB / 0.7 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1776, allocations: 0 / 0.7 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.1776, allocations: 24 kB / 0.7 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1776, allocations: 16 kB / 0.7 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000937/0.1786, allocations: 457 kB / 0.7004 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.1814, allocations: 2.001 MB / 0.7024 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.1823, allocations: 424.7 kB / 0.7028 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.1827, allocations: 222.1 kB / 0.703 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.1827, allocations: 8.438 kB / 0.703 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.1832, allocations: 265.2 kB / 0.7033 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.1832, allocations: 0 / 0.7033 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001247/0.1845, allocations: 0.5846 MB / 0.7038 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1845, allocations: 55.84 kB / 0.7039 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.185, allocations: 450.7 kB / 0.7043 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.1851, allocations: 37.7 kB / 0.7044 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.1853, allocations: 324.9 kB / 0.7047 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.1855, allocations: 178.5 kB / 0.7048 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1856, allocations: 90.25 kB / 0.7049 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1858, allocations: 366.7 kB / 0.7053 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1862, allocations: 169 kB / 0.7054 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1866, allocations: 249.8 kB / 0.7057 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.1874, allocations: 456 kB / 0.7061 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1874, allocations: 0 / 0.7061 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001001/0.1884, allocations: 0.5626 MB / 0.7067 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.1884, allocations: 33.7 kB / 0.7067 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1884, allocations: 4.25 kB / 0.7067 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.1884, allocations: 8 kB / 0.7067 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.1889, allocations: 115.8 kB / 0.7068 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1889, allocations: 7.984 kB / 0.7068 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.1892, allocations: 55.66 kB / 0.7069 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.1893, allocations: 16 kB / 0.7069 GB, free: 7.129 MB / 0.5294 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.0002605/0.1895, allocations: 214.2 kB / 0.7071 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.1896, allocations: 67.56 kB / 0.7072 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.1897, allocations: 65.59 kB / 0.7072 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1897, allocations: 4 kB / 0.7072 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1897, allocations: 4 kB / 0.7072 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1897, allocations: 3.984 kB / 0.7072 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.1915, allocations: 1.178 MB / 0.7084 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1915, allocations: 0 / 0.7084 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.1919, allocations: 95.88 kB / 0.7085 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1919, allocations: 0 / 0.7085 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.192, allocations: 12 kB / 0.7085 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.192, allocations: 4 kB / 0.7085 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.192, allocations: 0 / 0.7085 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.1933, allocations: 0.7654 MB / 0.7092 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.1935, allocations: 176.6 kB / 0.7094 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.1935, allocations: 11.98 kB / 0.7094 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1938, allocations: 19.98 kB / 0.7094 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1939, allocations: 36.39 kB / 0.7095 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.1939, allocations: 19.98 kB / 0.7095 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003338/0.1943, allocations: 306.9 kB / 0.7098 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1943, allocations: 0 / 0.7098 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000436/0.1947, allocations: 139.7 kB / 0.7099 GB, free: 3.934 MB / 0.5294 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.001622/0.1963, allocations: 1.334 MB / 0.7112 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009114/0.1972, allocations: 465.5 kB / 0.7117 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1972, allocations: 0 / 0.7117 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.1976, allocations: 202.4 kB / 0.7119 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.1984, allocations: 157.3 kB / 0.712 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.2055, allocations: 4.818 MB / 0.7167 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.206, allocations: 0.886 MB / 0.7176 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.2063, allocations: 64.58 kB / 0.7176 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.2066, allocations: 219.4 kB / 0.7179 GB, free: 11.61 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.2066, allocations: 0 / 0.7179 GB, free: 11.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.2459, allocations: 11.36 MB / 0.7289 GB, free: 460 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.695, allocations: 3.938 kB / 0.7289 GB, free: 456 kB / 0.545 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 & /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: 12.080385154578835] Failed to read output from testmodel.py, exit status != 0: 8.7791991927661 8.792136403 8.616252304 Calling exit ...