Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.000783/0.000783, allocations: 96.36 kB / 19.7 MB, free: 452 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.0008001/0.0008001, allocations: 216.7 kB / 23 MB, free: 2.977 MB / 13.93 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.8807/0.8807, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7716/0.7716, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [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.0008535/0.0008535, allocations: 68.48 kB / 0.719 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4801, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002283/0.4823, allocations: 2.063 MB / 0.8206 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.4841, allocations: 1.312 MB / 0.8219 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.4842, allocations: 3.406 kB / 0.8219 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.4847, allocations: 237.9 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007964/0.4855, allocations: 444 kB / 0.8226 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.595e-06/0.4855, allocations: 4 kB / 0.8226 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.4858, allocations: 387.4 kB / 0.8229 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.4858, allocations: 10.5 kB / 0.823 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4859, allocations: 153.2 kB / 0.8231 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.4861, allocations: 199.5 kB / 0.8233 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.4862, allocations: 23.03 kB / 0.8233 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.4866, allocations: 283.1 kB / 0.8236 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.4869, allocations: 366.1 kB / 0.8239 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.4872, allocations: 252.4 kB / 0.8242 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009322/0.4881, allocations: 0.8559 MB / 0.825 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4881, allocations: 4 kB / 0.825 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4881, allocations: 0 / 0.825 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.4881, allocations: 0.75 kB / 0.825 GB, free: 14.09 MB / 0.6198 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.001095/0.4892, allocations: 0.8972 MB / 0.8259 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4893, allocations: 9.281 kB / 0.8259 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.4896, allocations: 128.7 kB / 0.826 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007963/0.4904, allocations: 0.8607 MB / 0.8269 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4905, allocations: 15.69 kB / 0.8269 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.4905, allocations: 12.75 kB / 0.8269 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.4912, allocations: 0.6335 MB / 0.8275 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4912, allocations: 0 / 0.8275 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4912, allocations: 9.5 kB / 0.8275 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4912, allocations: 3.625 kB / 0.8275 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.4925, allocations: 1.102 MB / 0.8286 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.4946, allocations: 1.916 MB / 0.8305 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.4952, allocations: 330.5 kB / 0.8308 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.4956, allocations: 226.5 kB / 0.831 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.4956, allocations: 22.84 kB / 0.831 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4956, allocations: 37.67 kB / 0.8311 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.4956, allocations: 3.938 kB / 0.8311 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0008492/0.4965, allocations: 0.6994 MB / 0.8317 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.4965, allocations: 57.91 kB / 0.8318 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.4984, allocations: 2.062 MB / 0.8338 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.4984, allocations: 26.86 kB / 0.8338 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.4986, allocations: 332.3 kB / 0.8342 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.4987, allocations: 65.62 kB / 0.8342 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.4987, allocations: 60.39 kB / 0.8343 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.4988, allocations: 316.5 kB / 0.8346 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.4993, allocations: 0.5283 MB / 0.8351 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.4997, allocations: 0.5601 MB / 0.8356 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.5004, allocations: 0.7675 MB / 0.8364 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5004, allocations: 0 / 0.8364 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001097/0.5015, allocations: 1.211 MB / 0.8376 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.5016, allocations: 8.25 kB / 0.8376 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5016, allocations: 5.203 kB / 0.8376 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5016, allocations: 1.969 kB / 0.8376 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.5018, allocations: 64.67 kB / 0.8376 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5018, allocations: 2.281 kB / 0.8377 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.5021, allocations: 29.22 kB / 0.8377 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.5021, allocations: 12.5 kB / 0.8377 GB, free: 9.035 MB / 0.6198 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.000272/0.5024, allocations: 272.3 kB / 0.8379 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.5024, allocations: 78.73 kB / 0.838 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.5031, allocations: 0.5363 MB / 0.8385 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5031, allocations: 2.375 kB / 0.8386 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5031, allocations: 4.797 kB / 0.8386 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5031, allocations: 0.75 kB / 0.8386 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.5056, allocations: 2.451 MB / 0.8409 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.5057, allocations: 9.125 kB / 0.841 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.5058, allocations: 50.2 kB / 0.841 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5058, allocations: 9.281 kB / 0.841 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.5058, allocations: 9.125 kB / 0.841 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.5058, allocations: 5.75 kB / 0.841 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5058, allocations: 13.25 kB / 0.841 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.5065, allocations: 0.6605 MB / 0.8417 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.5066, allocations: 86.81 kB / 0.8418 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.5067, allocations: 9.828 kB / 0.8418 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.5068, allocations: 23.48 kB / 0.8418 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5069, allocations: 27.14 kB / 0.8418 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5069, allocations: 14.45 kB / 0.8418 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001353/0.5082, allocations: 1.584 MB / 0.8434 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5082, allocations: 1.375 kB / 0.8434 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005792/0.5088, allocations: 173 kB / 0.8436 GB, free: 6.371 MB / 0.6198 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.0002592/0.5091, allocations: 161.3 kB / 0.8437 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007898/0.5099, allocations: 0.7731 MB / 0.8445 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5099, allocations: 0.875 kB / 0.8445 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.5101, allocations: 225.5 kB / 0.8447 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.5107, allocations: 172.2 kB / 0.8448 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.5123, allocations: 1.423 MB / 0.8462 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.5126, allocations: 332.6 kB / 0.8466 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5127, allocations: 45.2 kB / 0.8466 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of SimCode: time 1.502e-06/0.5127, allocations: 1.406 kB / 0.8466 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of Templates: time 0.01313/0.5258, allocations: 8.901 MB / 0.8553 GB, free: 44 kB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5876006511971354] Failed to read output from testmodel.py, exit status != 0: 0.5320685650222003 0.539690183 0.049825430000000004 Calling exit ...