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.001313/0.001313, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001533/0.001533, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.797/0.797, allocations: 134 MB / 447.2 MB, free: 9.977 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.001883/0.001883, allocations: 66.44 kB / 0.6192 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 85.92 MB / 0.7031 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005307/0.1575, allocations: 3.717 MB / 0.7067 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1602, allocations: 1.332 MB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.1607, allocations: 31.81 kB / 0.7081 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.161, allocations: 130.7 kB / 0.7082 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.1615, allocations: 186.4 kB / 0.7084 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1626, allocations: 412.8 kB / 0.7088 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.1638, allocations: 0.9516 MB / 0.7097 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.1643, allocations: 306.6 kB / 0.71 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.1647, allocations: 350.7 kB / 0.7103 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.1651, allocations: 334.4 kB / 0.7107 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.1652, allocations: 92 kB / 0.7107 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1654, allocations: 95.94 kB / 0.7108 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1655, allocations: 179.4 kB / 0.711 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.1658, allocations: 302.5 kB / 0.7113 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.1669, allocations: 1.07 MB / 0.7123 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1669, allocations: 0 / 0.7123 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1669, allocations: 0 / 0.7123 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.1669, allocations: 0 / 0.7123 GB, free: 7.605 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.001945/0.1689, allocations: 1.088 MB / 0.7134 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1689, allocations: 8.031 kB / 0.7134 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.943e-05/0.1689, allocations: 17.5 kB / 0.7134 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.1691, allocations: 106.7 kB / 0.7135 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.1692, allocations: 84.42 kB / 0.7136 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/0.1701, allocations: 0.4999 MB / 0.7141 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1702, allocations: 45.69 kB / 0.7141 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1703, allocations: 60.33 kB / 0.7142 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1714, allocations: 0.6654 MB / 0.7148 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1715, allocations: 7.984 kB / 0.7149 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.1715, allocations: 20 kB / 0.7149 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1715, allocations: 12 kB / 0.7149 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.1725, allocations: 461 kB / 0.7153 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.1754, allocations: 1.783 MB / 0.7171 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.1763, allocations: 414.2 kB / 0.7175 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.1768, allocations: 226.8 kB / 0.7177 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.1768, allocations: 8.438 kB / 0.7177 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005633/0.1773, allocations: 261.3 kB / 0.7179 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/0.1774, allocations: 0 / 0.7179 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001322/0.1787, allocations: 0.5885 MB / 0.7185 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1787, allocations: 55.84 kB / 0.7186 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.1793, allocations: 453.9 kB / 0.719 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.1793, allocations: 33.7 kB / 0.719 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.1796, allocations: 324.9 kB / 0.7193 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.1797, allocations: 174.5 kB / 0.7195 GB, free: 28 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.1799, allocations: 98.31 kB / 0.7196 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1801, allocations: 366.8 kB / 0.7199 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.1805, allocations: 198.9 kB / 0.7201 GB, free: 15.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.181, allocations: 276.3 kB / 0.7204 GB, free: 15.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.1818, allocations: 455 kB / 0.7208 GB, free: 14.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1818, allocations: 0 / 0.7208 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001135/0.1829, allocations: 0.5981 MB / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.183, allocations: 33.7 kB / 0.7214 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.183, allocations: 0 / 0.7214 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.183, allocations: 8 kB / 0.7215 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.1835, allocations: 107.9 kB / 0.7216 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1835, allocations: 7.938 kB / 0.7216 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1838, allocations: 59.64 kB / 0.7216 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.1839, allocations: 16 kB / 0.7216 GB, free: 13.72 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.000281/0.1842, allocations: 214.6 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.1842, allocations: 59.56 kB / 0.7219 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1844, allocations: 69.53 kB / 0.722 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.1844, allocations: 4 kB / 0.722 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1844, allocations: 0 / 0.722 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1844, allocations: 7.984 kB / 0.722 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.1862, allocations: 1.08 MB / 0.723 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1862, allocations: 0 / 0.723 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.1867, allocations: 95.88 kB / 0.7231 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1867, allocations: 7.938 kB / 0.7231 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1867, allocations: 15.94 kB / 0.7231 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1867, allocations: 0 / 0.7231 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1867, allocations: 0 / 0.7231 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1881, allocations: 0.7652 MB / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.1883, allocations: 91.58 kB / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.1884, allocations: 8 kB / 0.724 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1887, allocations: 27.97 kB / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.1888, allocations: 36.36 kB / 0.724 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.1888, allocations: 16 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000373/0.1892, allocations: 306.9 kB / 0.7244 GB, free: 10.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1892, allocations: 4 kB / 0.7244 GB, free: 10.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000455/0.1896, allocations: 151.5 kB / 0.7245 GB, free: 10.71 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.001734/0.1914, allocations: 1.316 MB / 0.7258 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009895/0.1923, allocations: 498.4 kB / 0.7263 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1923, allocations: 0 / 0.7263 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.1928, allocations: 198.4 kB / 0.7265 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.1935, allocations: 154.3 kB / 0.7266 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/0.2012, allocations: 4.918 MB / 0.7314 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2015, allocations: 288.7 kB / 0.7317 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.2018, allocations: 64.58 kB / 0.7317 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.2021, allocations: 219.4 kB / 0.732 GB, free: 2.852 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.2021, allocations: 0 / 0.732 GB, free: 2.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.2401, allocations: 12.15 MB / 0.7438 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12, allocations: 16 kB / 0.7438 GB, free: 6.98 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.725026895990595] Failed to read output from testmodel.py, exit status != 0: 12.15791857498698 12.439540301 12.269587073 Calling exit ...