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.0009818/0.0009818, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008875/0.0008875, allocations: 165.9 kB / 22.46 MB, free: 2.109 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 1.046/1.046, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7879/0.7879, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.844e-06/1.844e-06, allocations: 0 / 0.618 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.634e-05, allocations: 2.281 kB / 0.618 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003816/0.003842, allocations: 3.744 MB / 0.6217 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.005647, allocations: 1.328 MB / 0.623 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.00591, allocations: 31.75 kB / 0.623 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.006181, allocations: 122.8 kB / 0.6231 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.006414, allocations: 194.2 kB / 0.6233 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.007006, allocations: 421.9 kB / 0.6237 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.007653, allocations: 0.9785 MB / 0.6246 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.008023, allocations: 278.7 kB / 0.6249 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.008401, allocations: 0.5028 MB / 0.6254 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.008603, allocations: 231.2 kB / 0.6256 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.008677, allocations: 96 kB / 0.6257 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.008748, allocations: 88 kB / 0.6258 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.008847, allocations: 187.3 kB / 0.626 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.009008, allocations: 251.4 kB / 0.6262 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.009667, allocations: 1.083 MB / 0.6273 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00967, allocations: 3.938 kB / 0.6273 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.009671, allocations: 0 / 0.6273 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.00968, allocations: 0 / 0.6273 GB, free: 4.25 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.001248/0.01093, allocations: 1.076 MB / 0.6283 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.01097, allocations: 9.469 kB / 0.6283 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.444e-05/0.01106, allocations: 102.7 kB / 0.6284 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.01115, allocations: 92.36 kB / 0.6285 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.0118, allocations: 0.503 MB / 0.629 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.01183, allocations: 49.62 kB / 0.6291 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.0119, allocations: 60.38 kB / 0.6291 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.01277, allocations: 0.6505 MB / 0.6298 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.01279, allocations: 4.125 kB / 0.6298 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.01283, allocations: 32.11 kB / 0.6298 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01284, allocations: 16 kB / 0.6298 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.01342, allocations: 453 kB / 0.6302 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.01518, allocations: 1.776 MB / 0.632 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.01573, allocations: 426.4 kB / 0.6324 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.01599, allocations: 226.3 kB / 0.6326 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.01602, allocations: 8.5 kB / 0.6326 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.01636, allocations: 258.2 kB / 0.6328 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 1.533e-06/0.01636, allocations: 0 / 0.6328 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.0007896/0.01715, allocations: 0.5904 MB / 0.6334 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.01719, allocations: 59.89 kB / 0.6335 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.01752, allocations: 454.6 kB / 0.6339 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.01755, allocations: 33.7 kB / 0.6339 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.01772, allocations: 328.8 kB / 0.6343 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.01781, allocations: 170.5 kB / 0.6344 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.01791, allocations: 94.33 kB / 0.6345 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.01802, allocations: 362.8 kB / 0.6349 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.01826, allocations: 198.9 kB / 0.635 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.01852, allocations: 284.4 kB / 0.6353 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.01901, allocations: 451.2 kB / 0.6357 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01901, allocations: 0 / 0.6357 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007089/0.01972, allocations: 0.5865 MB / 0.6363 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.01975, allocations: 37.7 kB / 0.6364 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01976, allocations: 0 / 0.6364 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01978, allocations: 15.92 kB / 0.6364 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.02004, allocations: 107.8 kB / 0.6365 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.02005, allocations: 7.984 kB / 0.6365 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.0202, allocations: 59.61 kB / 0.6365 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.02022, allocations: 19.94 kB / 0.6366 GB, free: 10.4 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.0001758/0.0204, allocations: 218.7 kB / 0.6368 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.02044, allocations: 51.67 kB / 0.6368 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.564e-05/0.02052, allocations: 69.58 kB / 0.6369 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.02053, allocations: 7.938 kB / 0.6369 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.02053, allocations: 0 / 0.6369 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02054, allocations: 0 / 0.6369 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.0216, allocations: 1.081 MB / 0.6379 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.02161, allocations: 7.938 kB / 0.638 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.02184, allocations: 95.88 kB / 0.638 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.02185, allocations: 7.984 kB / 0.6381 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.02187, allocations: 8 kB / 0.6381 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02187, allocations: 0 / 0.6381 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02187, allocations: 0 / 0.6381 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.0227, allocations: 0.767 MB / 0.6388 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.02282, allocations: 107.4 kB / 0.6389 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.02285, allocations: 7.938 kB / 0.6389 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.02298, allocations: 23.98 kB / 0.6389 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.02307, allocations: 36.42 kB / 0.639 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.02308, allocations: 16 kB / 0.639 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002207/0.02331, allocations: 310.9 kB / 0.6393 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02331, allocations: 0 / 0.6393 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002769/0.02358, allocations: 139.7 kB / 0.6394 GB, free: 7.391 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.001019/0.0246, allocations: 1.315 MB / 0.6407 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.02518, allocations: 499.3 kB / 0.6412 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02518, allocations: 0 / 0.6412 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.02542, allocations: 206.7 kB / 0.6414 GB, free: 5.344 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.02589, allocations: 161.8 kB / 0.6415 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.03074, allocations: 4.821 MB / 0.6462 GB, free: 208 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.03094, allocations: 292.8 kB / 0.6465 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.03111, allocations: 60.58 kB / 0.6466 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.03132, allocations: 224.4 kB / 0.6468 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.03132, allocations: 0 / 0.6468 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.05834, allocations: 12.54 MB / 0.659 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.543, allocations: 5.906 kB / 0.659 GB, free: 3.391 MB / 0.6198 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: 10.807934669777751] Failed to read output from testmodel.py, exit status != 0: 7.6323753502219915 7.646131832 7.633639497 Calling exit ...