Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001313/0.001313, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001573/0.001573, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.22/1.22, allocations: 154.6 MB / 413.8 MB, free: 5.242 MB / 382.1 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 178] 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.357e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00313/0.003153, allocations: 1.934 MB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.005536, allocations: 1.32 MB / 0.6218 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.005691, allocations: 3.938 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.006382, allocations: 239 kB / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.007589, allocations: 458.3 kB / 0.6224 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.786e-05/0.007607, allocations: 0 / 0.6224 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000522/0.008129, allocations: 402.3 kB / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.502e-05/0.008194, allocations: 8.594 kB / 0.6228 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.008517, allocations: 191.4 kB / 0.623 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.008843, allocations: 195.3 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.008896, allocations: 20 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.009494, allocations: 275.6 kB / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.009853, allocations: 387 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.01014, allocations: 191.5 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.01122, allocations: 0.8566 MB / 0.6249 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.01123, allocations: 4 kB / 0.6249 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01123, allocations: 0 / 0.6249 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.01124, allocations: 0 / 0.6249 GB, free: 14.09 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001492/0.01274, allocations: 0.8839 MB / 0.6257 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.01278, allocations: 8.031 kB / 0.6257 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.01344, allocations: 128.4 kB / 0.6259 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.01454, allocations: 0.8653 MB / 0.6267 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.01456, allocations: 12.38 kB / 0.6267 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.0146, allocations: 16.31 kB / 0.6267 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008879/0.01549, allocations: 0.6384 MB / 0.6274 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.0155, allocations: 192 / 0.6274 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.01553, allocations: 8.375 kB / 0.6274 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.01554, allocations: 7.938 kB / 0.6274 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.01689, allocations: 1.105 MB / 0.6285 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.01971, allocations: 1.914 MB / 0.6303 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008971/0.02061, allocations: 333.8 kB / 0.6306 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.02105, allocations: 224.8 kB / 0.6309 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.249e-05/0.02111, allocations: 23.92 kB / 0.6309 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/0.02118, allocations: 34.56 kB / 0.6309 GB, free: 7.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.826e-06/0.02119, allocations: 0 / 0.6309 GB, free: 7.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001471/0.02266, allocations: 0.6982 MB / 0.6316 GB, free: 7.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.02272, allocations: 59.34 kB / 0.6316 GB, free: 7.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.02569, allocations: 2.063 MB / 0.6337 GB, free: 4.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.02573, allocations: 33.7 kB / 0.6337 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.02604, allocations: 328.2 kB / 0.634 GB, free: 4.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.02611, allocations: 67.42 kB / 0.6341 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.02623, allocations: 57.66 kB / 0.6341 GB, free: 4.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002447/0.02647, allocations: 318 kB / 0.6344 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007123/0.02719, allocations: 0.5271 MB / 0.6349 GB, free: 3.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.02793, allocations: 0.5578 MB / 0.6355 GB, free: 3.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.02903, allocations: 0.7643 MB / 0.6362 GB, free: 2.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.02904, allocations: 0 / 0.6362 GB, free: 2.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001749/0.03079, allocations: 1.215 MB / 0.6374 GB, free: 1.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.03081, allocations: 4 kB / 0.6374 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.03082, allocations: 0 / 0.6374 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.03085, allocations: 4 kB / 0.6374 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.03122, allocations: 67.83 kB / 0.6375 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.03123, allocations: 0 / 0.6375 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.03169, allocations: 31.81 kB / 0.6375 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.03173, allocations: 20.02 kB / 0.6375 GB, free: 0.9336 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0004102/0.03214, allocations: 270.7 kB / 0.6378 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.03232, allocations: 71.53 kB / 0.6379 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.03349, allocations: 0.533 MB / 0.6384 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.0335, allocations: 8 kB / 0.6384 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.03351, allocations: 11.92 kB / 0.6384 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.03352, allocations: 0 / 0.6384 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.03702, allocations: 2.449 MB / 0.6408 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.03703, allocations: 7.938 kB / 0.6408 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.03729, allocations: 55.89 kB / 0.6409 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.0373, allocations: 8 kB / 0.6409 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.03733, allocations: 4.469 kB / 0.6409 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.03734, allocations: 19.88 kB / 0.6409 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.03735, allocations: 7.984 kB / 0.6409 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.03845, allocations: 0.6404 MB / 0.6415 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.03864, allocations: 87.48 kB / 0.6416 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.03875, allocations: 16 kB / 0.6416 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.03911, allocations: 23.86 kB / 0.6416 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.03916, allocations: 23.91 kB / 0.6417 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.03919, allocations: 16 kB / 0.6417 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001839/0.04103, allocations: 1.588 MB / 0.6432 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.04103, allocations: 0 / 0.6432 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005959/0.04163, allocations: 171.9 kB / 0.6434 GB, free: 10.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003866/0.04201, allocations: 179 kB / 0.6436 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.04318, allocations: 0.7729 MB / 0.6443 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.04318, allocations: 0 / 0.6443 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.04358, allocations: 232.5 kB / 0.6445 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008323/0.04441, allocations: 169.3 kB / 0.6447 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.04713, allocations: 1.598 MB / 0.6463 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.04765, allocations: 406.8 kB / 0.6467 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.0479, allocations: 88.38 kB / 0.6467 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.04805, allocations: 36.5 kB / 0.6468 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.04805, allocations: 0 / 0.6468 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of Templates: time 0.02009/0.06815, allocations: 10.52 MB / 0.6571 GB, free: 12.89 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952561233192682] Failed to read output from testmodel.py, exit status != 0: 0.0775301456451416 0.094705254 0.080071686 Calling exit ...