Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.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.0007562/0.0007562, allocations: 80.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.0007351/0.0007351, allocations: 173.2 kB / 23.2 MB, free: 1.367 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.8859/0.8859, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.766/0.766, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale") [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.0009777/0.0009777, allocations: 67.89 kB / 0.6196 GB, free: 13.07 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.4897/0.4907, allocations: 102 MB / 0.7192 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002362/0.493, allocations: 1.81 MB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.4948, allocations: 1.626 MB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.495, allocations: 8.594 kB / 0.7226 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.4952, allocations: 88.34 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.4954, allocations: 82.59 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.496, allocations: 326.3 kB / 0.723 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.4966, allocations: 0.6879 MB / 0.7237 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.4969, allocations: 218.9 kB / 0.7239 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.4973, allocations: 419.1 kB / 0.7243 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.4975, allocations: 250.7 kB / 0.7245 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.987e-05/0.4976, allocations: 75.91 kB / 0.7246 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.4977, allocations: 85.31 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.4978, allocations: 148.9 kB / 0.7248 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.4979, allocations: 243.2 kB / 0.7251 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007833/0.4987, allocations: 0.91 MB / 0.726 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4987, allocations: 0 / 0.726 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.225e-06/0.4987, allocations: 0 / 0.726 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.4987, allocations: 4 kB / 0.726 GB, free: 19.41 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001302/0.5, allocations: 1.036 MB / 0.727 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5001, allocations: 9.188 kB / 0.727 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.5002, allocations: 71.77 kB / 0.7271 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.5007, allocations: 352.8 kB / 0.7274 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.5007, allocations: 44.44 kB / 0.7274 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.5008, allocations: 55.11 kB / 0.7275 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.5014, allocations: 0.5404 MB / 0.728 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5014, allocations: 192 / 0.728 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.5015, allocations: 29.61 kB / 0.728 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.5015, allocations: 15.94 kB / 0.7281 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.5019, allocations: 347.3 kB / 0.7284 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.5034, allocations: 1.272 MB / 0.7296 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.504, allocations: 397.4 kB / 0.73 GB, free: 17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.5042, allocations: 206.8 kB / 0.7302 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.5043, allocations: 18.73 kB / 0.7302 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.5046, allocations: 238.2 kB / 0.7305 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.5046, allocations: 0 / 0.7305 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.0007341/0.5053, allocations: 0.528 MB / 0.731 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5054, allocations: 109.2 kB / 0.7311 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.5057, allocations: 350.2 kB / 0.7314 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.5057, allocations: 38.98 kB / 0.7314 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5058, allocations: 259.9 kB / 0.7317 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.5059, allocations: 170.9 kB / 0.7319 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.506, allocations: 98.11 kB / 0.7319 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.506, allocations: 355.7 kB / 0.7323 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.5063, allocations: 216.5 kB / 0.7325 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.5066, allocations: 417.8 kB / 0.7329 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.5071, allocations: 435.7 kB / 0.7333 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5071, allocations: 0 / 0.7333 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006982/0.5078, allocations: 0.6028 MB / 0.7339 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.5078, allocations: 35.3 kB / 0.7339 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5078, allocations: 2.375 kB / 0.7339 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5078, allocations: 11.44 kB / 0.7339 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.5081, allocations: 95.34 kB / 0.734 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.5081, allocations: 5.016 kB / 0.734 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.5083, allocations: 80.86 kB / 0.7341 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.5083, allocations: 24.94 kB / 0.7341 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000281/0.5086, allocations: 320.7 kB / 0.7344 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00025/0.5089, allocations: 387.5 kB / 0.7348 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003547/0.5092, allocations: 397.4 kB / 0.7352 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.5092, allocations: 0 / 0.7352 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0005693/0.5098, allocations: 0.5476 MB / 0.7357 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5098, allocations: 44.27 kB / 0.7358 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.5098, allocations: 1.125 kB / 0.7358 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.5098, allocations: 4.062 kB / 0.7358 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.51, allocations: 97.66 kB / 0.7359 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.51, allocations: 4.734 kB / 0.7359 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.5102, allocations: 68.5 kB / 0.7359 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.5102, allocations: 21.62 kB / 0.736 GB, free: 13.27 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 9.678e-05/0.5103, allocations: 216.7 kB / 0.7362 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.5104, allocations: 42.81 kB / 0.7362 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.5109, allocations: 436.2 kB / 0.7366 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5109, allocations: 2.016 kB / 0.7366 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5109, allocations: 0 / 0.7366 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.5109, allocations: 47.05 kB / 0.7367 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.511, allocations: 12.89 kB / 0.7367 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.5111, allocations: 23.33 kB / 0.7367 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.5111, allocations: 27.75 kB / 0.7367 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006013/0.5117, allocations: 0.5033 MB / 0.7372 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007691/0.5125, allocations: 0.7844 MB / 0.738 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002279/0.5127, allocations: 174.2 kB / 0.7382 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002049/0.5129, allocations: 242.5 kB / 0.7384 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of Backend: time 6.462e-06/0.5129, allocations: 0 / 0.7384 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.5141, allocations: 0.7364 MB / 0.7391 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00123/0.5153, allocations: 1.307 MB / 0.7404 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of Templates: time 0.01294/0.5283, allocations: 8.137 MB / 0.7483 GB, free: 9.348 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.426955911098048] Failed to read output from testmodel.py, exit status != 0: 0.5346399489790201 0.543471131 0.042973069 Calling exit ...