Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008617/0.0008617, 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.000855/0.000855, allocations: 169.2 kB / 23.19 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.9112/0.9112, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7094/0.7094, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009394/0.0009394, allocations: 75.88 kB / 0.6199 GB, free: 12.69 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.4948/0.4957, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002426/0.4982, allocations: 1.817 MB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.5, allocations: 1.623 MB / 0.7229 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.5002, allocations: 8.062 kB / 0.7229 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.5004, allocations: 88.7 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.5006, allocations: 86.3 kB / 0.723 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.5012, allocations: 320.7 kB / 0.7233 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000556/0.5018, allocations: 0.6823 MB / 0.724 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.5021, allocations: 226.8 kB / 0.7242 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.5024, allocations: 416.6 kB / 0.7246 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.5027, allocations: 244.9 kB / 0.7249 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.5028, allocations: 81.22 kB / 0.7249 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.5029, allocations: 89.8 kB / 0.725 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.503, allocations: 143.6 kB / 0.7252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.5031, allocations: 244.2 kB / 0.7254 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008053/0.5039, allocations: 0.9054 MB / 0.7263 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5039, allocations: 0.5156 kB / 0.7263 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5039, allocations: 0 / 0.7263 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.5039, allocations: 5 kB / 0.7263 GB, free: 19.23 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.001234/0.5052, allocations: 1.036 MB / 0.7273 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5052, allocations: 9.656 kB / 0.7273 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.5053, allocations: 76.47 kB / 0.7274 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.5058, allocations: 360.6 kB / 0.7277 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.5058, allocations: 41.58 kB / 0.7278 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.5059, allocations: 55 kB / 0.7278 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.5066, allocations: 0.5434 MB / 0.7283 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5066, allocations: 192 / 0.7283 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.5066, allocations: 25.64 kB / 0.7284 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.5066, allocations: 15.91 kB / 0.7284 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.5071, allocations: 343.7 kB / 0.7287 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.509, allocations: 1.276 MB / 0.73 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.5096, allocations: 396.1 kB / 0.7303 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.5098, allocations: 213.7 kB / 0.7305 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.5099, allocations: 5.688 kB / 0.7305 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.5102, allocations: 246.3 kB / 0.7308 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.5102, allocations: 0 / 0.7308 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.0008429/0.511, allocations: 0.5242 MB / 0.7313 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5111, allocations: 117.4 kB / 0.7314 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.5115, allocations: 346.7 kB / 0.7317 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.5115, allocations: 39.81 kB / 0.7318 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5116, allocations: 256 kB / 0.732 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.5117, allocations: 166 kB / 0.7322 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.5118, allocations: 103 kB / 0.7323 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.5119, allocations: 357.4 kB / 0.7326 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.5122, allocations: 218.3 kB / 0.7328 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.5126, allocations: 416.9 kB / 0.7332 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.513, allocations: 436.4 kB / 0.7336 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.513, allocations: 0 / 0.7336 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007058/0.5138, allocations: 0.5989 MB / 0.7342 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.5138, allocations: 38.88 kB / 0.7343 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5138, allocations: 1.594 kB / 0.7343 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.5138, allocations: 16.61 kB / 0.7343 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.5141, allocations: 94.67 kB / 0.7344 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.5141, allocations: 5.109 kB / 0.7344 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.5143, allocations: 76.08 kB / 0.7344 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.5144, allocations: 22.08 kB / 0.7345 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003634/0.5147, allocations: 314.2 kB / 0.7348 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003227/0.5151, allocations: 400.3 kB / 0.7351 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004203/0.5155, allocations: 390.3 kB / 0.7355 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.5155, allocations: 0 / 0.7355 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0006496/0.5161, allocations: 0.5554 MB / 0.7361 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.5162, allocations: 36.75 kB / 0.7361 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5162, allocations: 3.359 kB / 0.7361 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.5162, allocations: 8.188 kB / 0.7361 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5164, allocations: 91.34 kB / 0.7362 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5164, allocations: 5.188 kB / 0.7362 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.5166, allocations: 73.41 kB / 0.7363 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.5166, allocations: 21.06 kB / 0.7363 GB, free: 13.1 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 0.0001123/0.5167, allocations: 212.8 kB / 0.7365 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.5168, allocations: 43.25 kB / 0.7365 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/0.5173, allocations: 432.3 kB / 0.7369 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5173, allocations: 6.062 kB / 0.7369 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5173, allocations: 1.922 kB / 0.7369 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.5174, allocations: 49.78 kB / 0.737 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.5174, allocations: 12.62 kB / 0.737 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.5175, allocations: 22.91 kB / 0.737 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.5176, allocations: 25.28 kB / 0.7371 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000628/0.5182, allocations: 0.5055 MB / 0.7375 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007577/0.519, allocations: 0.7857 MB / 0.7383 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002187/0.5192, allocations: 174 kB / 0.7385 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001988/0.5194, allocations: 245.6 kB / 0.7387 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Backend: time 4.81e-07/0.5194, allocations: 1.531 kB / 0.7387 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.5205, allocations: 0.7341 MB / 0.7394 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001205/0.5217, allocations: 1.287 MB / 0.7407 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.01258/0.5342, allocations: 8.163 MB / 0.7487 GB, free: 9.07 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.282704531913623] Failed to read output from testmodel.py, exit status != 0: 0.5405333100352436 0.551180113 0.044376687000000005 Calling exit ...