Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009848/0.0009848, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001105/0.001105, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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.1/1.1, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8133/0.8133, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_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.0009838/0.0009838, allocations: 62.16 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6588, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003806/0.6626, allocations: 3.744 MB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.6648, allocations: 1.323 MB / 0.8227 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.6652, allocations: 28.94 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.6655, allocations: 127.8 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.6658, allocations: 181.8 kB / 0.823 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.6665, allocations: 431.3 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009244/0.6675, allocations: 0.9552 MB / 0.8244 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.6679, allocations: 290.4 kB / 0.8247 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.6682, allocations: 343.9 kB / 0.825 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.6685, allocations: 298.5 kB / 0.8253 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.771e-05/0.6686, allocations: 90.41 kB / 0.8254 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.6687, allocations: 90.88 kB / 0.8254 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.6688, allocations: 172 kB / 0.8256 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.6691, allocations: 313.9 kB / 0.8259 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.6701, allocations: 1.066 MB / 0.8269 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6701, allocations: 0.7031 kB / 0.8269 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6701, allocations: 5.531 kB / 0.8269 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.6701, allocations: 0 / 0.8269 GB, free: 11.25 MB / 0.6198 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.001509/0.6716, allocations: 1.079 MB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6717, allocations: 10.17 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.763e-05/0.6718, allocations: 99.64 kB / 0.8281 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.6719, allocations: 91.52 kB / 0.8282 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.6727, allocations: 0.5107 MB / 0.8287 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6727, allocations: 41.02 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.6728, allocations: 64.33 kB / 0.8288 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.6737, allocations: 0.661 MB / 0.8294 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6737, allocations: 4 kB / 0.8294 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.6737, allocations: 27.25 kB / 0.8295 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.6737, allocations: 13.56 kB / 0.8295 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.6744, allocations: 455.5 kB / 0.8299 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.6769, allocations: 1.773 MB / 0.8316 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.6776, allocations: 427.4 kB / 0.8321 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.6779, allocations: 223.2 kB / 0.8323 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.6779, allocations: 9.828 kB / 0.8323 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.6784, allocations: 258.3 kB / 0.8325 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.256e-06/0.6784, allocations: 0 / 0.8325 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.0009315/0.6793, allocations: 0.5856 MB / 0.8331 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.6793, allocations: 58.62 kB / 0.8332 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.6798, allocations: 450.5 kB / 0.8336 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.6799, allocations: 37.39 kB / 0.8336 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.6801, allocations: 326.8 kB / 0.8339 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.6802, allocations: 173.2 kB / 0.8341 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.6803, allocations: 100.1 kB / 0.8342 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6805, allocations: 365.3 kB / 0.8345 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.6808, allocations: 192.8 kB / 0.8347 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.6811, allocations: 282.5 kB / 0.835 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.6817, allocations: 456.8 kB / 0.8354 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6817, allocations: 5.125 kB / 0.8354 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009053/0.6826, allocations: 0.5935 MB / 0.836 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.6826, allocations: 34.42 kB / 0.836 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.6826, allocations: 6 kB / 0.836 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6827, allocations: 4.25 kB / 0.8361 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.683, allocations: 109.5 kB / 0.8362 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.683, allocations: 9.781 kB / 0.8362 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.6832, allocations: 61.17 kB / 0.8362 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.6832, allocations: 18.84 kB / 0.8362 GB, free: 5.602 MB / 0.6198 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.0002078/0.6834, allocations: 208 kB / 0.8364 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.6835, allocations: 62.53 kB / 0.8365 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.6836, allocations: 65.53 kB / 0.8366 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.6836, allocations: 5.156 kB / 0.8366 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.6836, allocations: 0 / 0.8366 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6836, allocations: 6.484 kB / 0.8366 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.6851, allocations: 1.074 MB / 0.8376 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6851, allocations: 0 / 0.8376 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.6853, allocations: 97.52 kB / 0.8377 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6854, allocations: 2.625 kB / 0.8377 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.6854, allocations: 8.422 kB / 0.8377 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6854, allocations: 6.812 kB / 0.8377 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6854, allocations: 4 kB / 0.8377 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.6864, allocations: 0.765 MB / 0.8385 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.6865, allocations: 90.86 kB / 0.8386 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.6865, allocations: 12.05 kB / 0.8386 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.6867, allocations: 21.55 kB / 0.8386 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.6868, allocations: 43.05 kB / 0.8386 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.6868, allocations: 13.77 kB / 0.8387 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002946/0.6871, allocations: 309.1 kB / 0.839 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.6871, allocations: 0 / 0.839 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003779/0.6875, allocations: 141.5 kB / 0.8391 GB, free: 4.031 MB / 0.6198 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.001166/0.6886, allocations: 1.324 MB / 0.8404 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007137/0.6894, allocations: 487.3 kB / 0.8408 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6894, allocations: 0 / 0.8408 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.6896, allocations: 204.8 kB / 0.841 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.6902, allocations: 167 kB / 0.8412 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/0.6958, allocations: 4.913 MB / 0.846 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.696, allocations: 293.5 kB / 0.8463 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002948/0.6963, allocations: 68.64 kB / 0.8463 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.6966, allocations: 217.6 kB / 0.8466 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.134e-06/0.6966, allocations: 1.375 kB / 0.8466 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.7257, allocations: 12.41 MB / 0.8587 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.782, allocations: 3.969 kB / 0.8587 GB, free: 8.961 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.154922243673354] Failed to read output from testmodel.py, exit status != 0: 7.864327031653374 7.872824127 7.200964069 Calling exit ...