Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.0007654/0.0007654, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.0007936/0.0007936, 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.8944/0.8944, allocations: 177.2 MB / 203.6 MB, free: 5.766 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.713/0.713, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [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.0008878/0.0008878, allocations: 67.89 kB / 0.6199 GB, free: 12.68 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4799, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.00233/0.4823, allocations: 1.88 MB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.4839, allocations: 1.709 MB / 0.723 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.484, allocations: 13.12 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.4842, allocations: 88.36 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.4844, allocations: 88.12 kB / 0.7232 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.485, allocations: 432.9 kB / 0.7236 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.4856, allocations: 0.7845 MB / 0.7244 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.4859, allocations: 253.3 kB / 0.7246 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.4863, allocations: 470 kB / 0.7251 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.4866, allocations: 278.9 kB / 0.7253 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-05/0.4867, allocations: 85.81 kB / 0.7254 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4868, allocations: 102.1 kB / 0.7255 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.4869, allocations: 156.1 kB / 0.7257 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.4871, allocations: 276.6 kB / 0.7259 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008621/0.488, allocations: 1.006 MB / 0.7269 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.488, allocations: 1.562 kB / 0.7269 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.472e-06/0.488, allocations: 0 / 0.7269 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.488, allocations: 0 / 0.7269 GB, free: 18.94 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001162/0.4891, allocations: 1.123 MB / 0.728 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4892, allocations: 10.31 kB / 0.728 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.4893, allocations: 74.89 kB / 0.7281 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.4897, allocations: 374.5 kB / 0.7284 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.4898, allocations: 44.09 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.4898, allocations: 68.44 kB / 0.7285 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.4905, allocations: 0.5709 MB / 0.7291 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4905, allocations: 192 / 0.7291 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.4905, allocations: 25.67 kB / 0.7291 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4906, allocations: 13.31 kB / 0.7291 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.4911, allocations: 369.5 kB / 0.7295 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.4926, allocations: 1.349 MB / 0.7308 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.4932, allocations: 414.9 kB / 0.7312 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.4934, allocations: 239.2 kB / 0.7314 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.4935, allocations: 7.281 kB / 0.7314 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.4938, allocations: 272.9 kB / 0.7317 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 1.383e-06/0.4938, allocations: 0 / 0.7317 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.0007398/0.4946, allocations: 0.5856 MB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.4946, allocations: 110.9 kB / 0.7324 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4949, allocations: 348.3 kB / 0.7327 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.4949, allocations: 40.98 kB / 0.7328 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.495, allocations: 267.4 kB / 0.733 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.063e-05/0.4951, allocations: 182.4 kB / 0.7332 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.4953, allocations: 114.9 kB / 0.7333 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.4953, allocations: 358.7 kB / 0.7336 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4957, allocations: 279.4 kB / 0.7339 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.496, allocations: 477.5 kB / 0.7344 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.4965, allocations: 495.7 kB / 0.7348 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4965, allocations: 5.469 kB / 0.7348 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008404/0.4973, allocations: 0.729 MB / 0.7355 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.4974, allocations: 67.95 kB / 0.7356 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4974, allocations: 2.016 kB / 0.7356 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4974, allocations: 3.312 kB / 0.7356 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4976, allocations: 102.2 kB / 0.7357 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.4977, allocations: 4.938 kB / 0.7357 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.4979, allocations: 99.56 kB / 0.7358 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.498, allocations: 26.78 kB / 0.7358 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003367/0.4983, allocations: 378.8 kB / 0.7362 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003125/0.4986, allocations: 452.9 kB / 0.7366 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00039/0.499, allocations: 454.8 kB / 0.7371 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.499, allocations: 5.922 kB / 0.7371 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006687/0.4997, allocations: 0.6884 MB / 0.7377 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4997, allocations: 73.03 kB / 0.7378 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.4997, allocations: 1.281 kB / 0.7378 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.4997, allocations: 4.438 kB / 0.7378 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.4999, allocations: 92.12 kB / 0.7379 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4999, allocations: 4.219 kB / 0.7379 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.5001, allocations: 100.3 kB / 0.738 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.5002, allocations: 24.73 kB / 0.738 GB, free: 12.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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 8.238e-05/0.5002, allocations: 227.4 kB / 0.7382 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.5003, allocations: 44.09 kB / 0.7383 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.5008, allocations: 472.6 kB / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5008, allocations: 2.578 kB / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5008, allocations: 5.5 kB / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.5009, allocations: 46 kB / 0.7388 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.5009, allocations: 16.25 kB / 0.7388 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.501, allocations: 29 kB / 0.7388 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.501, allocations: 31.58 kB / 0.7389 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006236/0.5017, allocations: 0.5417 MB / 0.7394 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007625/0.5024, allocations: 0.8368 MB / 0.7402 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002211/0.5026, allocations: 187.5 kB / 0.7404 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001885/0.5028, allocations: 248.8 kB / 0.7406 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of Backend: time 3.21e-07/0.5028, allocations: 0 / 0.7406 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.5039, allocations: 0.9809 MB / 0.7416 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000999/0.5049, allocations: 1.357 MB / 0.7429 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of Templates: time 0.01193/0.5168, allocations: 9.838 MB / 0.7525 GB, free: 6.574 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.322217954089865] Failed to read output from testmodel.py, exit status != 0: 0.5221541200298816 0.5315238600000001 0.04165999 Calling exit ...