Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.0007973/0.0007973, 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.00085/0.00085, 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.8843/0.8843, 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.7294/0.7294, 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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains") [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.0009326/0.0009326, allocations: 71.89 kB / 0.6198 GB, free: 12.83 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.508/0.5089, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.002924/0.5118, allocations: 2.406 MB / 0.7217 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.5138, allocations: 2.124 MB / 0.7238 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.5141, allocations: 24.84 kB / 0.7238 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.5143, allocations: 124.1 kB / 0.724 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.5145, allocations: 142.6 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.5155, allocations: 0.7688 MB / 0.7248 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008154/0.5163, allocations: 1.264 MB / 0.7261 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.5168, allocations: 336.9 kB / 0.7264 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.5173, allocations: 0.7223 MB / 0.7271 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.5177, allocations: 432.2 kB / 0.7275 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.5178, allocations: 136.2 kB / 0.7277 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.518, allocations: 144.9 kB / 0.7278 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.5181, allocations: 208.2 kB / 0.728 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.5184, allocations: 427.5 kB / 0.7284 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.5198, allocations: 1.581 MB / 0.7299 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5198, allocations: 1.469 kB / 0.7299 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5198, allocations: 0 / 0.7299 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.5198, allocations: 0 / 0.7299 GB, free: 17.1 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00156/0.5214, allocations: 1.392 MB / 0.7313 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5215, allocations: 14.41 kB / 0.7313 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.5216, allocations: 114.7 kB / 0.7314 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.5223, allocations: 0.5046 MB / 0.7319 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.5223, allocations: 65.34 kB / 0.732 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5224, allocations: 89.7 kB / 0.7321 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/0.5232, allocations: 0.7754 MB / 0.7328 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5233, allocations: 2.359 kB / 0.7328 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.5233, allocations: 31.47 kB / 0.7329 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.5233, allocations: 17.06 kB / 0.7329 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/0.5239, allocations: 468 kB / 0.7333 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.5263, allocations: 1.773 MB / 0.735 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.527, allocations: 0.4929 MB / 0.7355 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.5273, allocations: 263.7 kB / 0.7358 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.5274, allocations: 8.156 kB / 0.7358 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.5279, allocations: 422.2 kB / 0.7362 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 2.124e-06/0.5279, allocations: 1.344 kB / 0.7362 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.00107/0.5289, allocations: 0.7536 MB / 0.7369 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.529, allocations: 118 kB / 0.737 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.5294, allocations: 492.6 kB / 0.7375 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.5295, allocations: 51.89 kB / 0.7376 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.5297, allocations: 357.5 kB / 0.7379 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5298, allocations: 208.8 kB / 0.7381 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.53, allocations: 185.5 kB / 0.7383 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.5301, allocations: 377 kB / 0.7386 GB, free: 12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.5307, allocations: 0.4906 MB / 0.7391 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.5313, allocations: 0.7259 MB / 0.7398 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/0.532, allocations: 0.7533 MB / 0.7406 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.532, allocations: 1.156 kB / 0.7406 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001336/0.5333, allocations: 1.257 MB / 0.7418 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.606e-05/0.5334, allocations: 164.1 kB / 0.7419 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.5334, allocations: 3.406 kB / 0.7419 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5334, allocations: 5.469 kB / 0.742 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.5337, allocations: 109.7 kB / 0.7421 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.5337, allocations: 10.03 kB / 0.7421 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.5342, allocations: 201 kB / 0.7423 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.5343, allocations: 50.92 kB / 0.7423 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000607/0.5349, allocations: 0.6127 MB / 0.7429 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005506/0.5354, allocations: 0.7007 MB / 0.7436 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006199/0.5361, allocations: 0.7091 MB / 0.7443 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.5361, allocations: 1.312 kB / 0.7443 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001168/0.5372, allocations: 1.206 MB / 0.7455 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.5373, allocations: 169.5 kB / 0.7456 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5373, allocations: 3.062 kB / 0.7456 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.5373, allocations: 9.656 kB / 0.7456 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5375, allocations: 99.77 kB / 0.7457 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5375, allocations: 6.719 kB / 0.7457 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.538, allocations: 199.1 kB / 0.7459 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.5381, allocations: 47.44 kB / 0.746 GB, free: 7.227 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (resSig.y,$PRE.resSig.y,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or2.y,greThr.y,lesThr.lesHys.y,$PRE.lesThr.lesHys.y,Td.booPul.y,$PRE.Td.booPul.y,Ti.booPul.y,$PRE.Ti.booPul.y,k.booPul.y,$PRE.k.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,$PRE.PIDWitInpGai.greThrkTd.greHys.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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 5 * 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.0001416/0.5382, allocations: 252.8 kB / 0.7462 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.5383, allocations: 64.06 kB / 0.7463 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.539, allocations: 0.5936 MB / 0.7469 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.539, allocations: 2.906 kB / 0.7469 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.539, allocations: 2.047 kB / 0.7469 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.5391, allocations: 68.41 kB / 0.7469 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.5391, allocations: 17.84 kB / 0.7469 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.5393, allocations: 41.8 kB / 0.747 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5394, allocations: 58.14 kB / 0.747 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008346/0.5402, allocations: 0.6514 MB / 0.7477 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001049/0.5413, allocations: 1.03 MB / 0.7487 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000304/0.5416, allocations: 249 kB / 0.7489 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002666/0.5418, allocations: 330 kB / 0.7492 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of Backend: time 3.4e-07/0.5418, allocations: 0 / 0.7492 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.5436, allocations: 1.869 MB / 0.7511 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001544/0.5451, allocations: 1.613 MB / 0.7526 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of Templates: time 0.01881/0.5639, allocations: 17.23 MB / 0.7695 GB, free: 11.59 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.617223453940824] Failed to read output from testmodel.py, exit status != 0: 0.5702336090616882 0.578880669 0.057202038000000004 Calling exit ...