Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.0008002/0.0008002, allocations: 84.44 kB / 19.91 MB, free: 0 / 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.0007952/0.0007952, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9214/0.9214, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7308/0.7308, allocations: 154.7 MB / 414.7 MB, free: 0.7266 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [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.0009022/0.0009022, allocations: 71.89 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4685, allocations: 101.9 MB / 0.7192 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003164/0.4717, allocations: 2.796 MB / 0.7219 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.4738, allocations: 1.745 MB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.4741, allocations: 23.69 kB / 0.7236 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.4744, allocations: 159.5 kB / 0.7238 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.4746, allocations: 130.1 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.4751, allocations: 364.9 kB / 0.7243 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007954/0.4759, allocations: 1.069 MB / 0.7253 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.4765, allocations: 427.7 kB / 0.7257 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.477, allocations: 0.6312 MB / 0.7263 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.4772, allocations: 391.5 kB / 0.7267 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.4774, allocations: 119.3 kB / 0.7268 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.4775, allocations: 118.4 kB / 0.7269 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.4776, allocations: 265 kB / 0.7272 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.4779, allocations: 380.1 kB / 0.7275 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.4791, allocations: 1.421 MB / 0.7289 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.4792, allocations: 0 / 0.7289 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4792, allocations: 0 / 0.7289 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.4792, allocations: 0 / 0.7289 GB, free: 17.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002132/0.4813, allocations: 1.901 MB / 0.7308 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4814, allocations: 9.781 kB / 0.7308 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.4815, allocations: 120.4 kB / 0.7309 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.4821, allocations: 0.5083 MB / 0.7314 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.4822, allocations: 73.25 kB / 0.7315 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.4823, allocations: 95.53 kB / 0.7316 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4833, allocations: 0.9787 MB / 0.7325 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4833, allocations: 192 / 0.7325 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.4833, allocations: 46.67 kB / 0.7326 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.4834, allocations: 22.84 kB / 0.7326 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.4841, allocations: 0.6213 MB / 0.7332 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.4865, allocations: 2.348 MB / 0.7355 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.4874, allocations: 0.6601 MB / 0.7361 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.4878, allocations: 370.8 kB / 0.7365 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.4878, allocations: 13.69 kB / 0.7365 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.4882, allocations: 348.4 kB / 0.7368 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 2.044e-06/0.4882, allocations: 0 / 0.7368 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.001072/0.4893, allocations: 0.815 MB / 0.7376 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.4894, allocations: 164.3 kB / 0.7378 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.4898, allocations: 495.8 kB / 0.7383 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4898, allocations: 38.5 kB / 0.7383 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.49, allocations: 420 kB / 0.7387 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.4901, allocations: 267.8 kB / 0.739 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4902, allocations: 132.6 kB / 0.7391 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.4903, allocations: 378.4 kB / 0.7394 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.4907, allocations: 243.8 kB / 0.7397 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.4911, allocations: 0.566 MB / 0.7402 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.4918, allocations: 0.5328 MB / 0.7408 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4918, allocations: 0 / 0.7408 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008372/0.4926, allocations: 0.7073 MB / 0.7414 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4927, allocations: 4.859 kB / 0.7414 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4927, allocations: 5.609 kB / 0.7415 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4927, allocations: 13.09 kB / 0.7415 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.493, allocations: 151.8 kB / 0.7416 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.493, allocations: 3.125 kB / 0.7416 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.4932, allocations: 87.88 kB / 0.7417 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.4933, allocations: 21.28 kB / 0.7417 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003621/0.4936, allocations: 354.2 kB / 0.7421 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003097/0.4939, allocations: 0.5127 MB / 0.7426 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004636/0.4944, allocations: 462.8 kB / 0.743 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.4944, allocations: 0 / 0.743 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006498/0.495, allocations: 0.6042 MB / 0.7436 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4951, allocations: 6 kB / 0.7436 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4951, allocations: 2.328 kB / 0.7436 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.4951, allocations: 8 kB / 0.7436 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.4954, allocations: 131.9 kB / 0.7437 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4954, allocations: 3.875 kB / 0.7437 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.4956, allocations: 84.22 kB / 0.7438 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.4956, allocations: 20.22 kB / 0.7438 GB, free: 9.094 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0001151/0.4957, allocations: 230.8 kB / 0.7441 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.4958, allocations: 70.98 kB / 0.7441 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.4966, allocations: 0.6396 MB / 0.7447 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.4967, allocations: 7.234 kB / 0.7448 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4967, allocations: 0 / 0.7448 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.4967, allocations: 77.11 kB / 0.7448 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.4968, allocations: 21.03 kB / 0.7448 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4969, allocations: 43.2 kB / 0.7449 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.497, allocations: 41.72 kB / 0.7449 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009309/0.4979, allocations: 0.7383 MB / 0.7456 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001491/0.4994, allocations: 1.124 MB / 0.7467 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004159/0.4998, allocations: 281 kB / 0.747 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003684/0.5002, allocations: 344.4 kB / 0.7473 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of Backend: time 4.7e-07/0.5002, allocations: 4 kB / 0.7473 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.5013, allocations: 0.6984 MB / 0.748 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001928/0.5033, allocations: 1.835 MB / 0.7498 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.01401/0.5173, allocations: 10.71 MB / 0.7603 GB, free: 1.977 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.439628763822839] Failed to read output from testmodel.py, exit status != 0: 0.5235954101663083 0.531922279 0.050578686000000005 Calling exit ...