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.0008877/0.0008877, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009336/0.0009336, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9504/0.9504, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.7599/0.7599, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.226e-05, allocations: 2.281 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003703/0.003725, allocations: 3.745 MB / 0.6217 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.00598, allocations: 1.32 MB / 0.6229 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.006374, allocations: 39.75 kB / 0.623 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.006653, allocations: 126.7 kB / 0.6231 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.006951, allocations: 190.2 kB / 0.6233 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.007649, allocations: 425.2 kB / 0.6237 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.00847, allocations: 0.9746 MB / 0.6246 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.008911, allocations: 286.6 kB / 0.6249 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.009351, allocations: 0.4989 MB / 0.6254 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.009575, allocations: 239.2 kB / 0.6256 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.029e-05/0.009656, allocations: 92 kB / 0.6257 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.371e-05/0.009729, allocations: 92 kB / 0.6258 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.009825, allocations: 179.4 kB / 0.626 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.01001, allocations: 255.3 kB / 0.6262 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007648/0.01077, allocations: 1.086 MB / 0.6273 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01077, allocations: 0 / 0.6273 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01078, allocations: 3.938 kB / 0.6273 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.01079, allocations: 3.938 kB / 0.6273 GB, free: 4.219 MB / 0.5886 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.001378/0.01217, allocations: 1.064 MB / 0.6283 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.01222, allocations: 17.47 kB / 0.6283 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.275e-05/0.0123, allocations: 94.7 kB / 0.6284 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.01241, allocations: 92.38 kB / 0.6285 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.01315, allocations: 0.4991 MB / 0.629 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.01318, allocations: 49.69 kB / 0.6291 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.01324, allocations: 56.38 kB / 0.6291 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.0143, allocations: 0.6544 MB / 0.6298 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.01432, allocations: 4.125 kB / 0.6298 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.01436, allocations: 32.12 kB / 0.6298 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01437, allocations: 12 kB / 0.6298 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.01499, allocations: 457 kB / 0.6302 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.01695, allocations: 1.779 MB / 0.632 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.01753, allocations: 426.4 kB / 0.6324 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.0178, allocations: 218.3 kB / 0.6326 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.01783, allocations: 8.484 kB / 0.6326 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003727/0.0182, allocations: 266.2 kB / 0.6329 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 3.276e-06/0.01821, allocations: 0 / 0.6329 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.000839/0.01905, allocations: 0.5865 MB / 0.6334 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.01909, allocations: 55.91 kB / 0.6335 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.01945, allocations: 458.6 kB / 0.6339 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.01949, allocations: 41.64 kB / 0.634 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.01967, allocations: 332.8 kB / 0.6343 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.01977, allocations: 170.5 kB / 0.6344 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01987, allocations: 90.34 kB / 0.6345 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01999, allocations: 366.8 kB / 0.6349 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.02025, allocations: 194.9 kB / 0.6351 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.02053, allocations: 276.4 kB / 0.6353 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.02104, allocations: 455.2 kB / 0.6358 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.02104, allocations: 4 kB / 0.6358 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006628/0.02171, allocations: 0.5941 MB / 0.6363 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.02175, allocations: 29.7 kB / 0.6364 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02176, allocations: 4.25 kB / 0.6364 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.02178, allocations: 11.94 kB / 0.6364 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.02206, allocations: 115.8 kB / 0.6365 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.02207, allocations: 4 kB / 0.6365 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.02225, allocations: 59.59 kB / 0.6366 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.02227, allocations: 20 kB / 0.6366 GB, free: 10.37 MB / 0.6042 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.0004919/0.02276, allocations: 210.7 kB / 0.6368 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.02281, allocations: 55.67 kB / 0.6368 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.02289, allocations: 65.59 kB / 0.6369 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.0229, allocations: 7.938 kB / 0.6369 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.02291, allocations: 0 / 0.6369 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.02291, allocations: 3.984 kB / 0.6369 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.02405, allocations: 1.085 MB / 0.638 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.02406, allocations: 3.938 kB / 0.638 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.02431, allocations: 95.88 kB / 0.6381 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.02431, allocations: 0 / 0.6381 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.02433, allocations: 12 kB / 0.6381 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.02434, allocations: 4 kB / 0.6381 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02434, allocations: 0 / 0.6381 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.02518, allocations: 0.7553 MB / 0.6388 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.02531, allocations: 103.5 kB / 0.6389 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.02535, allocations: 15.98 kB / 0.6389 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.02549, allocations: 27.92 kB / 0.6389 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.02557, allocations: 36.42 kB / 0.639 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.02558, allocations: 12 kB / 0.639 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002369/0.02582, allocations: 306.9 kB / 0.6393 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02582, allocations: 0 / 0.6393 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000329/0.02615, allocations: 147.7 kB / 0.6394 GB, free: 7.371 MB / 0.6042 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.001068/0.02722, allocations: 1.315 MB / 0.6407 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.02784, allocations: 491.8 kB / 0.6412 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02785, allocations: 3.938 kB / 0.6412 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.02809, allocations: 206.7 kB / 0.6414 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.0286, allocations: 163.7 kB / 0.6415 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.03384, allocations: 4.825 MB / 0.6462 GB, free: 180 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.03406, allocations: 288.7 kB / 0.6465 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.03429, allocations: 64.58 kB / 0.6466 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.03452, allocations: 220.4 kB / 0.6468 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.453e-06/0.03452, allocations: 0 / 0.6468 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.06572, allocations: 12.53 MB / 0.659 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.411, allocations: 4.062 kB / 0.659 GB, free: 3.371 MB / 0.6198 GB " [Timeout remaining time 653] (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: 10.719308877363801] Failed to read output from testmodel.py, exit status != 0: 7.497296329587698 7.508838836 7.495850497 Calling exit ...