Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001211/0.001211, 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.001411/0.001411, 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.927/0.927, 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 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.7443/0.7443, 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.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009551/0.0009551, allocations: 70.98 kB / 0.6196 GB, free: 13.11 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.4989/0.4999, allocations: 101.9 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PID): time 0.004044/0.5039, allocations: 3.035 MB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004024/0.5079, allocations: 2.15 MB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/0.5088, allocations: 25.56 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.5092, allocations: 174.3 kB / 0.7244 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004901/0.5097, allocations: 153.3 kB / 0.7246 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5109, allocations: 0.5075 MB / 0.7251 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.5122, allocations: 1.253 MB / 0.7263 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.5128, allocations: 402 kB / 0.7267 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.5135, allocations: 0.6987 MB / 0.7274 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.514, allocations: 428.3 kB / 0.7278 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.5142, allocations: 129.7 kB / 0.7279 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.5144, allocations: 144.2 kB / 0.728 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.5145, allocations: 252 kB / 0.7283 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.5148, allocations: 416.5 kB / 0.7287 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.5164, allocations: 1.557 MB / 0.7302 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5164, allocations: 5.969 kB / 0.7302 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5164, allocations: 0 / 0.7302 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.037e-05/0.5165, allocations: 0 / 0.7302 GB, free: 16.75 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.002496/0.519, allocations: 1.556 MB / 0.7317 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.519, allocations: 13.25 kB / 0.7317 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.5192, allocations: 127.4 kB / 0.7318 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.52, allocations: 0.5384 MB / 0.7324 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.52, allocations: 69.84 kB / 0.7324 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5201, allocations: 94.5 kB / 0.7325 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.5213, allocations: 0.9935 MB / 0.7335 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5213, allocations: 192 / 0.7335 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.5214, allocations: 42.31 kB / 0.7335 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.5214, allocations: 20.62 kB / 0.7336 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.5224, allocations: 0.6324 MB / 0.7342 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.5256, allocations: 2.512 MB / 0.7366 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.5267, allocations: 0.6658 MB / 0.7373 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.5271, allocations: 346.3 kB / 0.7376 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.5272, allocations: 9.875 kB / 0.7376 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.5277, allocations: 349.8 kB / 0.738 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/0.5277, allocations: 0 / 0.738 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.001288/0.529, allocations: 0.833 MB / 0.7388 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.529, allocations: 190 kB / 0.7389 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.5297, allocations: 0.5804 MB / 0.7395 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.5298, allocations: 44.97 kB / 0.7396 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.53, allocations: 446.7 kB / 0.74 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.5301, allocations: 240.4 kB / 0.7402 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.5303, allocations: 150.2 kB / 0.7404 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5304, allocations: 386 kB / 0.7407 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.5309, allocations: 325 kB / 0.741 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.5316, allocations: 0.751 MB / 0.7418 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.5324, allocations: 0.6846 MB / 0.7424 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.5324, allocations: 1 kB / 0.7424 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001243/0.5337, allocations: 0.9025 MB / 0.7433 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.5337, allocations: 39.14 kB / 0.7434 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5337, allocations: 4.125 kB / 0.7434 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5338, allocations: 5.062 kB / 0.7434 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.5341, allocations: 162.9 kB / 0.7435 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.5342, allocations: 7.797 kB / 0.7435 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.5346, allocations: 132.1 kB / 0.7437 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.5346, allocations: 34.12 kB / 0.7437 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000514/0.5351, allocations: 425.6 kB / 0.7441 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004223/0.5355, allocations: 0.6907 MB / 0.7448 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005814/0.5361, allocations: 0.566 MB / 0.7453 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.5361, allocations: 1.281 kB / 0.7453 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0009454/0.5371, allocations: 0.7854 MB / 0.7461 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.5371, allocations: 45.45 kB / 0.7461 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5371, allocations: 3.359 kB / 0.7461 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.5371, allocations: 6.562 kB / 0.7461 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.5374, allocations: 133.4 kB / 0.7463 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.5374, allocations: 11.78 kB / 0.7463 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.5378, allocations: 118.4 kB / 0.7464 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.5378, allocations: 31.55 kB / 0.7464 GB, free: 7.113 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.0001967/0.538, allocations: 229.6 kB / 0.7466 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.5381, allocations: 79.23 kB / 0.7467 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009514/0.539, allocations: 0.6463 MB / 0.7473 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.539, allocations: 3.938 kB / 0.7474 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.539, allocations: 1.031 kB / 0.7474 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.5391, allocations: 88.7 kB / 0.7474 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.5392, allocations: 12.77 kB / 0.7474 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5394, allocations: 46.33 kB / 0.7475 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.5395, allocations: 43.44 kB / 0.7475 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001179/0.5406, allocations: 0.7228 MB / 0.7482 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001364/0.542, allocations: 1.123 MB / 0.7493 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004388/0.5424, allocations: 273.4 kB / 0.7496 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005238/0.543, allocations: 404.5 kB / 0.75 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of Backend: time 1.613e-06/0.543, allocations: 0 / 0.75 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.5449, allocations: 0.9926 MB / 0.751 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002286/0.5472, allocations: 1.834 MB / 0.7527 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.01929/0.5665, allocations: 13.25 MB / 0.7657 GB, free: 14.26 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.65099114482291] Failed to read output from testmodel.py, exit status != 0: 0.5734002341050655 0.583030771 0.064687691 Calling exit ...