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.001272/0.001272, allocations: 81.94 kB / 19.18 MB, free: 2.363 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.001306/0.001306, allocations: 174.5 kB / 22.46 MB, free: 4.984 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.203 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.192/1.192, allocations: 154.7 MB / 413.9 MB, free: 5.168 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.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6188 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.021e-05, allocations: 4.812 kB / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003418/0.003449, allocations: 2.06 MB / 0.6208 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.005735, allocations: 1.306 MB / 0.6221 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.005817, allocations: 8 kB / 0.6221 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.00646, allocations: 235 kB / 0.6223 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.007526, allocations: 453.2 kB / 0.6227 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.464e-06/0.007534, allocations: 0 / 0.6227 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.007925, allocations: 390.5 kB / 0.6231 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.007987, allocations: 12.59 kB / 0.6231 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.008217, allocations: 183.5 kB / 0.6233 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.008466, allocations: 187.4 kB / 0.6235 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.008504, allocations: 27.94 kB / 0.6235 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.009021, allocations: 287.5 kB / 0.6238 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.00935, allocations: 363 kB / 0.6241 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.009575, allocations: 195.5 kB / 0.6243 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.01055, allocations: 0.8527 MB / 0.6251 GB, free: 14.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.01056, allocations: 4 kB / 0.6251 GB, free: 14.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01056, allocations: 0 / 0.6251 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.01057, allocations: 0 / 0.6251 GB, free: 14.01 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.001201/0.01178, allocations: 0.8879 MB / 0.626 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01182, allocations: 12.03 kB / 0.626 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.0124, allocations: 128.4 kB / 0.6261 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.01344, allocations: 0.8613 MB / 0.627 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.01346, allocations: 12.38 kB / 0.627 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.01349, allocations: 16.31 kB / 0.627 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.01436, allocations: 0.6423 MB / 0.6276 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01437, allocations: 192 / 0.6276 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.01439, allocations: 4.375 kB / 0.6276 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.0144, allocations: 11.92 kB / 0.6276 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.01579, allocations: 1.097 MB / 0.6287 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.01829, allocations: 1.922 MB / 0.6306 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.01902, allocations: 330.7 kB / 0.6309 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.01937, allocations: 216.8 kB / 0.6311 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.083e-05/0.01945, allocations: 23.98 kB / 0.6311 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.01948, allocations: 46.55 kB / 0.6312 GB, free: 7.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.253e-06/0.01949, allocations: 0 / 0.6312 GB, free: 7.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001177/0.02066, allocations: 0.6942 MB / 0.6319 GB, free: 6.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.02071, allocations: 59.34 kB / 0.6319 GB, free: 6.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.02302, allocations: 2.063 MB / 0.6339 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.02305, allocations: 33.7 kB / 0.634 GB, free: 4.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.02333, allocations: 324.2 kB / 0.6343 GB, free: 4.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.02338, allocations: 67.44 kB / 0.6343 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.02349, allocations: 61.64 kB / 0.6344 GB, free: 4.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.02363, allocations: 318 kB / 0.6347 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.02425, allocations: 0.5271 MB / 0.6352 GB, free: 3.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.0249, allocations: 0.55 MB / 0.6357 GB, free: 2.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.02589, allocations: 0.7876 MB / 0.6365 GB, free: 2.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.0259, allocations: 0 / 0.6365 GB, free: 2.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001468/0.02737, allocations: 1.2 MB / 0.6377 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.02738, allocations: 8.031 kB / 0.6377 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.02739, allocations: 0 / 0.6377 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.0274, allocations: 4 kB / 0.6377 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.02774, allocations: 71.83 kB / 0.6378 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.02774, allocations: 0 / 0.6378 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.02804, allocations: 31.81 kB / 0.6378 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.02807, allocations: 11.98 kB / 0.6378 GB, free: 0.8398 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.0002911/0.02836, allocations: 275.8 kB / 0.6381 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.02847, allocations: 71.53 kB / 0.6381 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009908/0.02946, allocations: 0.5367 MB / 0.6387 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02947, allocations: 0 / 0.6387 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.02947, allocations: 7.875 kB / 0.6387 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02948, allocations: 7.922 kB / 0.6387 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.0325, allocations: 2.45 MB / 0.6411 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.03251, allocations: 12 kB / 0.6411 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.03276, allocations: 47.91 kB / 0.6411 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.03276, allocations: 4 kB / 0.6411 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.03279, allocations: 15.98 kB / 0.6411 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.0328, allocations: 11.88 kB / 0.6412 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.0328, allocations: 4 kB / 0.6412 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.03374, allocations: 0.6484 MB / 0.6418 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.03388, allocations: 87.48 kB / 0.6419 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.03396, allocations: 8 kB / 0.6419 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.03425, allocations: 19.92 kB / 0.6419 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.0343, allocations: 31.84 kB / 0.6419 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.03432, allocations: 12 kB / 0.6419 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001648/0.03597, allocations: 1.585 MB / 0.6435 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.03597, allocations: 0 / 0.6435 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005562/0.03652, allocations: 175.9 kB / 0.6437 GB, free: 10.66 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.0003197/0.03684, allocations: 186.9 kB / 0.6438 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.03794, allocations: 0.769 MB / 0.6446 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.03795, allocations: 4 kB / 0.6446 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.0383, allocations: 216.7 kB / 0.6448 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.03906, allocations: 180 kB / 0.645 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.04145, allocations: 1.599 MB / 0.6465 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.04191, allocations: 406.8 kB / 0.6469 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.04214, allocations: 80.39 kB / 0.647 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.04227, allocations: 48.48 kB / 0.647 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.04227, allocations: 4 kB / 0.647 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of Templates: time 0.01863/0.0609, allocations: 10.62 MB / 0.6574 GB, free: 12.7 MB / 0.5762 GB " [Timeout remaining time 660] 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: 5.960018379613757] Failed to read output from testmodel.py, exit status != 0: 0.06940344162285328 0.08297010299999995 0.06944544500000001 Calling exit ...