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.001022/0.001022, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.00117/0.00117, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.033/1.033, allocations: 230.6 MB / 256 MB, free: 9.793 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.808/0.808, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.000963/0.000963, allocations: 68.53 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6632, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004862/0.6681, allocations: 4.173 MB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.6703, allocations: 1.368 MB / 0.8232 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.6706, allocations: 26.81 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.6711, allocations: 130.3 kB / 0.8234 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.6714, allocations: 184.5 kB / 0.8236 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008811/0.6723, allocations: 431.4 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009821/0.6733, allocations: 0.9603 MB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.6737, allocations: 305.6 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.6741, allocations: 339 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.6745, allocations: 339 kB / 0.8258 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.6746, allocations: 91.31 kB / 0.8259 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.6747, allocations: 90.72 kB / 0.826 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.6748, allocations: 180.3 kB / 0.8262 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.6752, allocations: 396.5 kB / 0.8266 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.6765, allocations: 1.059 MB / 0.8276 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.6765, allocations: 2.547 kB / 0.8276 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6765, allocations: 0 / 0.8276 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.6765, allocations: 0 / 0.8276 GB, free: 10.81 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.001665/0.6782, allocations: 1.08 MB / 0.8287 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.6782, allocations: 12.84 kB / 0.8287 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.6783, allocations: 103.4 kB / 0.8288 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.6785, allocations: 86.3 kB / 0.8289 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.6794, allocations: 0.5074 MB / 0.8294 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.6794, allocations: 45.28 kB / 0.8294 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.6795, allocations: 63.7 kB / 0.8295 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.6804, allocations: 0.6088 MB / 0.8301 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.6804, allocations: 1.859 kB / 0.8301 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.6805, allocations: 29.56 kB / 0.8301 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.6805, allocations: 14.97 kB / 0.8301 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.6813, allocations: 456.5 kB / 0.8305 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.684, allocations: 1.935 MB / 0.8324 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/0.6849, allocations: 428.4 kB / 0.8328 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.6853, allocations: 218.9 kB / 0.833 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.6853, allocations: 22.53 kB / 0.8331 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005151/0.6858, allocations: 258.2 kB / 0.8333 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.245e-06/0.6858, allocations: 0 / 0.8333 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001097/0.6869, allocations: 0.5825 MB / 0.8339 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.687, allocations: 57.02 kB / 0.8339 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.6875, allocations: 451.4 kB / 0.8344 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.6875, allocations: 35.98 kB / 0.8344 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.6878, allocations: 327.6 kB / 0.8347 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6879, allocations: 177.8 kB / 0.8349 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.688, allocations: 94.7 kB / 0.835 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6882, allocations: 364.3 kB / 0.8353 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.6884, allocations: 165.6 kB / 0.8355 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.6889, allocations: 250.9 kB / 0.8357 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.6895, allocations: 454.6 kB / 0.8361 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6895, allocations: 1.656 kB / 0.8361 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007999/0.6903, allocations: 0.5667 MB / 0.8367 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.6904, allocations: 33.22 kB / 0.8367 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6904, allocations: 2.156 kB / 0.8367 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.6904, allocations: 5.75 kB / 0.8367 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.6908, allocations: 117.2 kB / 0.8368 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6908, allocations: 8.562 kB / 0.8369 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.691, allocations: 57.44 kB / 0.8369 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.691, allocations: 18.8 kB / 0.8369 GB, free: 5.266 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.0002258/0.6912, allocations: 217 kB / 0.8371 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.6913, allocations: 61.66 kB / 0.8372 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.6914, allocations: 65.81 kB / 0.8373 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6914, allocations: 8.594 kB / 0.8373 GB, free: 5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6914, allocations: 1.344 kB / 0.8373 GB, free: 5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6914, allocations: 2.484 kB / 0.8373 GB, free: 5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.693, allocations: 1.142 MB / 0.8384 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.6931, allocations: 4 kB / 0.8384 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.6934, allocations: 98.92 kB / 0.8385 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.6934, allocations: 1.828 kB / 0.8385 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.6934, allocations: 12.98 kB / 0.8385 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.6934, allocations: 2.406 kB / 0.8385 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6934, allocations: 0 / 0.8385 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.6944, allocations: 0.7629 MB / 0.8392 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.6946, allocations: 99.14 kB / 0.8393 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.6946, allocations: 11.67 kB / 0.8394 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.6947, allocations: 26.44 kB / 0.8394 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.6948, allocations: 33.31 kB / 0.8394 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.6949, allocations: 14.19 kB / 0.8394 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003219/0.6952, allocations: 310.5 kB / 0.8397 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6952, allocations: 4 kB / 0.8397 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003335/0.6955, allocations: 141.3 kB / 0.8399 GB, free: 3.656 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.001238/0.6968, allocations: 1.32 MB / 0.8411 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007316/0.6975, allocations: 459.5 kB / 0.8416 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6975, allocations: 2.219 kB / 0.8416 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.6978, allocations: 207.9 kB / 0.8418 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.6984, allocations: 160.7 kB / 0.8419 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/0.704, allocations: 4.8 MB / 0.8466 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.7045, allocations: 0.8928 MB / 0.8475 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.7048, allocations: 63.3 kB / 0.8476 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.705, allocations: 226.8 kB / 0.8478 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.705, allocations: 0 / 0.8478 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.7363, allocations: 11.8 MB / 0.8593 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.453, allocations: 9.625 kB / 0.8593 GB, free: 8.59 MB / 0.6355 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.961084343958646] Failed to read output from testmodel.py, exit status != 0: 8.535822019912302 8.547290384 7.867937981 Calling exit ...