Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.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.001032/0.001032, allocations: 84.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.001187/0.001187, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9239/0.9239, allocations: 177.2 MB / 203.6 MB, free: 5.789 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.7185/0.7185, allocations: 154.9 MB / 414.9 MB, free: 0.5273 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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID") [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.0009609/0.0009609, allocations: 71.89 kB / 0.6199 GB, free: 12.76 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.4805/0.4815, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PID): time 0.003134/0.4846, allocations: 3.034 MB / 0.7225 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.4872, allocations: 2.145 MB / 0.7246 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.4875, allocations: 28.97 kB / 0.7246 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.4878, allocations: 180.3 kB / 0.7248 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.4881, allocations: 151.5 kB / 0.7249 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.4889, allocations: 0.4995 MB / 0.7254 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008699/0.4898, allocations: 1.246 MB / 0.7266 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.4904, allocations: 405.2 kB / 0.727 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.491, allocations: 0.6946 MB / 0.7277 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.4913, allocations: 432.7 kB / 0.7281 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.4915, allocations: 129.6 kB / 0.7282 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.4917, allocations: 140.2 kB / 0.7283 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4918, allocations: 256 kB / 0.7286 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.4921, allocations: 412.7 kB / 0.729 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.4934, allocations: 1.557 MB / 0.7305 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4934, allocations: 1 kB / 0.7305 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4934, allocations: 0 / 0.7305 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.4934, allocations: 0 / 0.7305 GB, free: 16.6 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001947/0.4954, allocations: 1.561 MB / 0.732 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4954, allocations: 10.19 kB / 0.732 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.4956, allocations: 123.8 kB / 0.7322 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.4964, allocations: 0.5535 MB / 0.7327 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.4964, allocations: 70.84 kB / 0.7328 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.4965, allocations: 90.78 kB / 0.7329 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.4976, allocations: 0.9896 MB / 0.7338 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4976, allocations: 192 / 0.7338 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.4977, allocations: 41.3 kB / 0.7339 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.4977, allocations: 33 kB / 0.7339 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/0.4985, allocations: 0.6274 MB / 0.7345 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.5012, allocations: 2.501 MB / 0.7369 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5022, allocations: 0.6669 MB / 0.7376 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.5027, allocations: 351.3 kB / 0.7379 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.5027, allocations: 8.906 kB / 0.7379 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.5032, allocations: 353.4 kB / 0.7383 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 2.254e-06/0.5032, allocations: 3.938 kB / 0.7383 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.001172/0.5043, allocations: 0.8299 MB / 0.7391 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.5044, allocations: 193.2 kB / 0.7393 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.5049, allocations: 0.5774 MB / 0.7398 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.505, allocations: 43.75 kB / 0.7399 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.5052, allocations: 449.7 kB / 0.7403 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5053, allocations: 245.3 kB / 0.7405 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.5054, allocations: 150 kB / 0.7407 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.5055, allocations: 382.3 kB / 0.7411 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.506, allocations: 324.6 kB / 0.7414 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.5065, allocations: 0.7547 MB / 0.7421 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.5073, allocations: 0.6768 MB / 0.7428 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5073, allocations: 1.344 kB / 0.7428 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001077/0.5084, allocations: 0.8999 MB / 0.7436 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.5084, allocations: 37.89 kB / 0.7437 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5084, allocations: 2.906 kB / 0.7437 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5084, allocations: 5.969 kB / 0.7437 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.5088, allocations: 170.5 kB / 0.7438 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.5088, allocations: 7.281 kB / 0.7439 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.5091, allocations: 129.4 kB / 0.744 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.5092, allocations: 33.19 kB / 0.744 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004431/0.5096, allocations: 427.2 kB / 0.7444 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003964/0.51, allocations: 0.6924 MB / 0.7451 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005541/0.5106, allocations: 0.5685 MB / 0.7456 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.5106, allocations: 1.219 kB / 0.7456 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00082/0.5114, allocations: 0.788 MB / 0.7464 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5114, allocations: 35.73 kB / 0.7465 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5114, allocations: 2.562 kB / 0.7465 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.5114, allocations: 8.391 kB / 0.7465 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.5117, allocations: 144 kB / 0.7466 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5118, allocations: 6.969 kB / 0.7466 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.512, allocations: 114.7 kB / 0.7467 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.5121, allocations: 32.44 kB / 0.7467 GB, free: 6.949 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,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 (90): * Single equations (assignments): 89 * 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.0001285/0.5122, allocations: 232.2 kB / 0.747 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.5122, allocations: 76.77 kB / 0.747 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008559/0.5131, allocations: 0.6484 MB / 0.7477 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5131, allocations: 7.172 kB / 0.7477 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5131, allocations: 1.156 kB / 0.7477 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.5132, allocations: 83.53 kB / 0.7478 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.5132, allocations: 12.92 kB / 0.7478 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5134, allocations: 48.77 kB / 0.7478 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.5135, allocations: 42.47 kB / 0.7479 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009062/0.5144, allocations: 0.7297 MB / 0.7486 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001138/0.5155, allocations: 1.123 MB / 0.7497 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003267/0.5158, allocations: 269.5 kB / 0.7499 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003508/0.5162, allocations: 401.6 kB / 0.7503 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of Backend: time 4.3e-07/0.5162, allocations: 4 kB / 0.7503 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.5176, allocations: 0.9976 MB / 0.7513 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001754/0.5193, allocations: 1.835 MB / 0.7531 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of Templates: time 0.01615/0.5355, allocations: 13.24 MB / 0.766 GB, free: 14.02 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.505018620984629] Failed to read output from testmodel.py, exit status != 0: 0.5436535300686955 0.553192146 0.058008304000000004 Calling exit ...