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.0009657/0.0009657, allocations: 80.45 kB / 19.9 MB, free: 12 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.0008962/0.0008962, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9/0.9, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7378/0.7378, allocations: 154.7 MB / 414.7 MB, free: 0.7266 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.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.001347/0.001347, allocations: 61.78 kB / 0.6195 GB, free: 13.12 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.5251/0.5264, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002287/0.5287, allocations: 2.059 MB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.5302, allocations: 1.308 MB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.5303, allocations: 1.156 kB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.5308, allocations: 237.6 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006658/0.5315, allocations: 451.1 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.673e-06/0.5315, allocations: 0 / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.5318, allocations: 392.6 kB / 0.7234 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.5318, allocations: 15.48 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.532, allocations: 190 kB / 0.7236 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.5322, allocations: 203.5 kB / 0.7238 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.5322, allocations: 27.19 kB / 0.7239 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.5326, allocations: 279.6 kB / 0.7241 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.5329, allocations: 374.1 kB / 0.7245 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.5331, allocations: 249.4 kB / 0.7247 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008137/0.5339, allocations: 0.8607 MB / 0.7256 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5339, allocations: 0 / 0.7256 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5339, allocations: 0 / 0.7256 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.534, allocations: 0 / 0.7256 GB, free: 20.21 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007821/0.5347, allocations: 0.8913 MB / 0.7264 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5348, allocations: 9.156 kB / 0.7264 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.5351, allocations: 136.4 kB / 0.7266 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.5359, allocations: 0.862 MB / 0.7274 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5359, allocations: 10.06 kB / 0.7274 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.5359, allocations: 13.62 kB / 0.7274 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.5366, allocations: 0.6391 MB / 0.7281 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5366, allocations: 0 / 0.7281 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5366, allocations: 7.094 kB / 0.7281 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5366, allocations: 2.531 kB / 0.7281 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5376, allocations: 1.102 MB / 0.7291 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.5396, allocations: 1.916 MB / 0.731 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.5401, allocations: 331 kB / 0.7313 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.5404, allocations: 230.3 kB / 0.7315 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.5404, allocations: 23.16 kB / 0.7316 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.5405, allocations: 32.48 kB / 0.7316 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.5405, allocations: 0 / 0.7316 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008887/0.5413, allocations: 0.7029 MB / 0.7323 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.5414, allocations: 54.09 kB / 0.7323 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.5436, allocations: 2.062 MB / 0.7343 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5436, allocations: 26.92 kB / 0.7344 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.5438, allocations: 332.7 kB / 0.7347 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.5438, allocations: 66.28 kB / 0.7348 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.5439, allocations: 63.94 kB / 0.7348 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.5439, allocations: 316.1 kB / 0.7351 GB, free: 16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.5444, allocations: 0.5317 MB / 0.7356 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.5449, allocations: 0.5521 MB / 0.7362 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.5456, allocations: 0.7661 MB / 0.7369 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5456, allocations: 0 / 0.7369 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001154/0.5468, allocations: 1.212 MB / 0.7381 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5468, allocations: 13.34 kB / 0.7381 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5468, allocations: 0 / 0.7381 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5468, allocations: 3.297 kB / 0.7381 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.547, allocations: 64.28 kB / 0.7382 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.547, allocations: 1.094 kB / 0.7382 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.5472, allocations: 41.72 kB / 0.7382 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.5472, allocations: 12.64 kB / 0.7382 GB, free: 15.15 MB / 0.6355 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.0002349/0.5475, allocations: 273 kB / 0.7385 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.5475, allocations: 75.88 kB / 0.7386 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.5482, allocations: 0.5378 MB / 0.7391 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5482, allocations: 2.125 kB / 0.7391 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5482, allocations: 2.141 kB / 0.7391 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5482, allocations: 0.7031 kB / 0.7391 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.5505, allocations: 2.443 MB / 0.7415 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5505, allocations: 4.703 kB / 0.7415 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.5506, allocations: 54.44 kB / 0.7415 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5506, allocations: 14.38 kB / 0.7416 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5506, allocations: 7.281 kB / 0.7416 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.5506, allocations: 14.78 kB / 0.7416 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5506, allocations: 9.812 kB / 0.7416 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.5512, allocations: 0.6607 MB / 0.7422 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.5513, allocations: 84.23 kB / 0.7423 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.5514, allocations: 11.5 kB / 0.7423 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.5515, allocations: 20.86 kB / 0.7423 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.5516, allocations: 29.55 kB / 0.7424 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.5516, allocations: 11.41 kB / 0.7424 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001197/0.5528, allocations: 1.586 MB / 0.7439 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5528, allocations: 0 / 0.7439 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004638/0.5533, allocations: 175.3 kB / 0.7441 GB, free: 12.72 MB / 0.6355 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.0002393/0.5535, allocations: 176.1 kB / 0.7443 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007815/0.5543, allocations: 0.7642 MB / 0.745 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5543, allocations: 0 / 0.745 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.5545, allocations: 225.5 kB / 0.7452 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.5551, allocations: 170 kB / 0.7454 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5567, allocations: 1.628 MB / 0.747 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.557, allocations: 401.8 kB / 0.7474 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.5572, allocations: 83.77 kB / 0.7474 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.5573, allocations: 44.64 kB / 0.7475 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.5573, allocations: 0 / 0.7475 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.014/0.5713, allocations: 10.62 MB / 0.7579 GB, free: 7.918 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.500977026997134] Failed to read output from testmodel.py, exit status != 0: 0.5783360770437866 0.584935513 0.049222948 Calling exit ...