Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007269/0.0007269, 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.0008907/0.0008907, allocations: 177.2 kB / 23.2 MB, free: 1.363 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.9014/0.9014, 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.7533/0.7533, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.001194/0.001194, allocations: 72.12 kB / 0.6195 GB, free: 13.19 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.509/0.5102, allocations: 102 MB / 0.7191 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.003181/0.5133, allocations: 2.399 MB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.5158, allocations: 2.138 MB / 0.7235 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.5162, allocations: 16.03 kB / 0.7235 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.5165, allocations: 129.3 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.5167, allocations: 148.5 kB / 0.7238 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.518, allocations: 0.7663 MB / 0.7245 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.5191, allocations: 1.26 MB / 0.7258 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.5196, allocations: 328.8 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.5203, allocations: 0.7293 MB / 0.7268 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.5208, allocations: 425.4 kB / 0.7272 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.521, allocations: 135.5 kB / 0.7273 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.5212, allocations: 151.6 kB / 0.7275 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.5214, allocations: 204.5 kB / 0.7277 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.5217, allocations: 421.8 kB / 0.7281 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.5233, allocations: 1.579 MB / 0.7296 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5233, allocations: 1.562 kB / 0.7296 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5233, allocations: 0 / 0.7296 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.118e-05/0.5234, allocations: 4 kB / 0.7296 GB, free: 17.24 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.002456/0.5258, allocations: 1.4 MB / 0.731 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.5259, allocations: 8.75 kB / 0.731 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.5261, allocations: 114.5 kB / 0.7311 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.527, allocations: 0.5045 MB / 0.7316 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.5271, allocations: 69.06 kB / 0.7317 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5272, allocations: 90.05 kB / 0.7317 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5282, allocations: 0.7649 MB / 0.7325 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.5282, allocations: 192 / 0.7325 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.5283, allocations: 36.17 kB / 0.7325 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5283, allocations: 17.88 kB / 0.7325 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.529, allocations: 474.4 kB / 0.733 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.5314, allocations: 1.769 MB / 0.7347 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/0.5322, allocations: 0.5013 MB / 0.7352 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.5325, allocations: 256.2 kB / 0.7355 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.5326, allocations: 7.719 kB / 0.7355 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.5331, allocations: 419.2 kB / 0.7359 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 2.305e-06/0.5331, allocations: 0 / 0.7359 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.001172/0.5343, allocations: 0.7547 MB / 0.7366 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5343, allocations: 113.7 kB / 0.7367 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.5348, allocations: 492 kB / 0.7372 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.5349, allocations: 56.78 kB / 0.7372 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.5351, allocations: 356.9 kB / 0.7376 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5352, allocations: 212.5 kB / 0.7378 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.5354, allocations: 185.3 kB / 0.738 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.5355, allocations: 381 kB / 0.7383 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.5361, allocations: 0.4918 MB / 0.7388 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.5368, allocations: 0.722 MB / 0.7395 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.5375, allocations: 0.7518 MB / 0.7402 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.5375, allocations: 1.688 kB / 0.7402 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001485/0.539, allocations: 1.258 MB / 0.7415 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.386e-05/0.5391, allocations: 168.1 kB / 0.7416 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5391, allocations: 2.562 kB / 0.7416 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.5391, allocations: 6.625 kB / 0.7416 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.5394, allocations: 109.3 kB / 0.7417 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.5395, allocations: 6.312 kB / 0.7417 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.5401, allocations: 198.9 kB / 0.7419 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.5402, allocations: 51.69 kB / 0.742 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000694/0.5409, allocations: 0.6134 MB / 0.7426 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005627/0.5415, allocations: 0.6973 MB / 0.7433 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006467/0.5421, allocations: 0.7094 MB / 0.744 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.5421, allocations: 0 / 0.744 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001256/0.5434, allocations: 1.211 MB / 0.7451 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.5435, allocations: 168.9 kB / 0.7453 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5435, allocations: 10.62 kB / 0.7453 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.5435, allocations: 9.562 kB / 0.7453 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5437, allocations: 95.66 kB / 0.7454 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5437, allocations: 6.969 kB / 0.7454 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.5442, allocations: 196.8 kB / 0.7456 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.5443, allocations: 45.59 kB / 0.7457 GB, free: 7.355 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.0002015/0.5445, allocations: 241.3 kB / 0.7459 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.5445, allocations: 60.8 kB / 0.7459 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/0.5453, allocations: 0.6007 MB / 0.7465 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5453, allocations: 3.516 kB / 0.7465 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5454, allocations: 0.8438 kB / 0.7465 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.5454, allocations: 73.23 kB / 0.7466 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.5455, allocations: 21.55 kB / 0.7466 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5456, allocations: 38 kB / 0.7467 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5458, allocations: 54.19 kB / 0.7467 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008136/0.5466, allocations: 0.6588 MB / 0.7474 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001111/0.5477, allocations: 1.031 MB / 0.7484 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003299/0.548, allocations: 244 kB / 0.7486 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003193/0.5483, allocations: 334.9 kB / 0.7489 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of Backend: time 5.51e-07/0.5483, allocations: 4 kB / 0.7489 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.5503, allocations: 1.87 MB / 0.7507 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001745/0.552, allocations: 1.611 MB / 0.7523 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of Templates: time 0.02175/0.5738, allocations: 17.2 MB / 0.7691 GB, free: 11.86 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.685300865909085] Failed to read output from testmodel.py, exit status != 0: 0.580599008128047 0.593147251 0.067935988 Calling exit ...