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.0007431/0.0007431, allocations: 72.45 kB / 19.9 MB, free: 16 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.0008053/0.0008053, 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.8831/0.8831, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7225/0.7225, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.0009379/0.0009379, allocations: 67.89 kB / 0.6196 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.4517/0.4526, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002375/0.455, allocations: 2.052 MB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.4566, allocations: 1.323 MB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.4567, allocations: 1.062 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.4573, allocations: 241.3 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007987/0.4581, allocations: 443.6 kB / 0.7231 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.544e-06/0.4581, allocations: 0 / 0.7231 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.4584, allocations: 396.3 kB / 0.7234 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.4585, allocations: 10.88 kB / 0.7235 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.4587, allocations: 194.8 kB / 0.7236 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.4589, allocations: 199.7 kB / 0.7238 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.4589, allocations: 22.03 kB / 0.7239 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.4593, allocations: 287.9 kB / 0.7241 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.4596, allocations: 371.1 kB / 0.7245 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.4598, allocations: 247.7 kB / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.4608, allocations: 0.9117 MB / 0.7256 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4608, allocations: 0 / 0.7256 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4608, allocations: 0 / 0.7256 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4609, allocations: 0.75 kB / 0.7256 GB, free: 20.19 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.001053/0.4619, allocations: 0.8901 MB / 0.7265 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.462, allocations: 10 kB / 0.7265 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.4624, allocations: 127.5 kB / 0.7266 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008396/0.4632, allocations: 0.8654 MB / 0.7275 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.4632, allocations: 10.44 kB / 0.7275 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.4633, allocations: 13.75 kB / 0.7275 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.4639, allocations: 0.6351 MB / 0.7281 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4639, allocations: 1.156 kB / 0.7281 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.464, allocations: 5.188 kB / 0.7281 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.464, allocations: 3.406 kB / 0.7281 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009942/0.465, allocations: 1.103 MB / 0.7292 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.467, allocations: 1.919 MB / 0.7311 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.4676, allocations: 330.8 kB / 0.7314 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.4678, allocations: 226.2 kB / 0.7316 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.4679, allocations: 19.89 kB / 0.7316 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.4679, allocations: 35.91 kB / 0.7316 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 3.266e-06/0.4679, allocations: 1.531 kB / 0.7316 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008806/0.4688, allocations: 0.7077 MB / 0.7323 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4688, allocations: 53.88 kB / 0.7324 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.4707, allocations: 2.058 MB / 0.7344 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4707, allocations: 30.92 kB / 0.7344 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4709, allocations: 333.1 kB / 0.7347 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.4709, allocations: 69.56 kB / 0.7348 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.471, allocations: 60.91 kB / 0.7349 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.4711, allocations: 315.5 kB / 0.7352 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.4716, allocations: 0.5283 MB / 0.7357 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.4721, allocations: 0.5557 MB / 0.7362 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.4728, allocations: 0.7702 MB / 0.737 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4728, allocations: 0 / 0.737 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001101/0.4739, allocations: 1.208 MB / 0.7382 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4739, allocations: 9.609 kB / 0.7382 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.4739, allocations: 3.938 kB / 0.7382 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4739, allocations: 2.656 kB / 0.7382 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.4741, allocations: 68.84 kB / 0.7382 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4741, allocations: 5.5 kB / 0.7382 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4744, allocations: 32.2 kB / 0.7383 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.4744, allocations: 16.61 kB / 0.7383 GB, free: 15.13 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.0002012/0.4746, allocations: 274.8 kB / 0.7386 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.4747, allocations: 74.14 kB / 0.7386 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.4753, allocations: 0.5364 MB / 0.7392 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4753, allocations: 6.219 kB / 0.7392 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4753, allocations: 0.7031 kB / 0.7392 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4753, allocations: 1.812 kB / 0.7392 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.4775, allocations: 2.442 MB / 0.7415 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4775, allocations: 5.062 kB / 0.7416 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.4776, allocations: 54.23 kB / 0.7416 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4776, allocations: 10.53 kB / 0.7416 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4777, allocations: 7.625 kB / 0.7416 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.4777, allocations: 11.2 kB / 0.7416 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4777, allocations: 8.062 kB / 0.7416 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.4783, allocations: 0.656 MB / 0.7423 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.4784, allocations: 80.61 kB / 0.7424 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.4784, allocations: 15.27 kB / 0.7424 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4786, allocations: 20.17 kB / 0.7424 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.4786, allocations: 29.25 kB / 0.7424 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4786, allocations: 11.09 kB / 0.7424 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001197/0.4798, allocations: 1.583 MB / 0.744 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4798, allocations: 0 / 0.744 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005282/0.4804, allocations: 176 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.000252/0.4806, allocations: 167.6 kB / 0.7443 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.4814, allocations: 0.7689 MB / 0.7451 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4814, allocations: 0 / 0.7451 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.4816, allocations: 225.6 kB / 0.7453 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.0005738/0.4822, allocations: 177.2 kB / 0.7454 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.4839, allocations: 1.427 MB / 0.7468 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4841, allocations: 331.6 kB / 0.7471 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4843, allocations: 48.33 kB / 0.7472 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of SimCode: time 6.42e-07/0.4843, allocations: 0 / 0.7472 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of Templates: time 0.01097/0.4952, allocations: 8.905 MB / 0.7559 GB, free: 8.59 MB / 0.6355 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: 6.806281399913132] Failed to read output from testmodel.py, exit status != 0: 0.5008315620943904 0.507443549 0.04500137099999994 Calling exit ...