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.0007794/0.0007794, allocations: 76.45 kB / 19.91 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.0007807/0.0007807, 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.8689/0.8689, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7388/0.7388, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.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: 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.0009409/0.0009409, allocations: 67.91 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.4352/0.4361, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002023/0.4382, allocations: 1.942 MB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4396, allocations: 1.315 MB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.4396, allocations: 5.156 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.4401, allocations: 237.5 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.4408, allocations: 451.9 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.782e-06/0.4408, allocations: 0 / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.4411, allocations: 391.6 kB / 0.7233 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.4411, allocations: 12.03 kB / 0.7233 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.4413, allocations: 194.6 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.4415, allocations: 195.4 kB / 0.7237 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.4415, allocations: 22.5 kB / 0.7237 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.4419, allocations: 283.6 kB / 0.724 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.4422, allocations: 369.9 kB / 0.7244 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.4424, allocations: 254.2 kB / 0.7246 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.4433, allocations: 0.9023 MB / 0.7255 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4433, allocations: 0 / 0.7255 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4433, allocations: 0.9062 kB / 0.7255 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4433, allocations: 0 / 0.7255 GB, free: 20.27 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.0008196/0.4441, allocations: 0.8909 MB / 0.7264 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4441, allocations: 9.094 kB / 0.7264 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.4445, allocations: 131.9 kB / 0.7265 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.4453, allocations: 0.8581 MB / 0.7273 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4453, allocations: 10.12 kB / 0.7273 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.4453, allocations: 15.2 kB / 0.7273 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.446, allocations: 0.6458 MB / 0.728 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.446, allocations: 1.062 kB / 0.728 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.446, allocations: 5.578 kB / 0.728 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.446, allocations: 3.188 kB / 0.728 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.447, allocations: 1.103 MB / 0.7291 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.4489, allocations: 1.92 MB / 0.7309 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.4495, allocations: 329.6 kB / 0.7313 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.4497, allocations: 226.6 kB / 0.7315 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.4498, allocations: 23.58 kB / 0.7315 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.4498, allocations: 32.47 kB / 0.7315 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.4498, allocations: 0 / 0.7315 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008927/0.4507, allocations: 0.7022 MB / 0.7322 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.4507, allocations: 54.61 kB / 0.7323 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.4524, allocations: 2.061 MB / 0.7343 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4524, allocations: 27.41 kB / 0.7343 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4526, allocations: 336.5 kB / 0.7346 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.4526, allocations: 66.98 kB / 0.7347 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.4527, allocations: 59.58 kB / 0.7347 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.4527, allocations: 315.8 kB / 0.735 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.4532, allocations: 0.5358 MB / 0.7356 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.4537, allocations: 0.5527 MB / 0.7361 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.4543, allocations: 0.7652 MB / 0.7369 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4543, allocations: 0 / 0.7369 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001059/0.4554, allocations: 1.212 MB / 0.738 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.4554, allocations: 9.219 kB / 0.738 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4554, allocations: 9.875 kB / 0.7381 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4555, allocations: 1.406 kB / 0.7381 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.4557, allocations: 64.72 kB / 0.7381 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4557, allocations: 2.469 kB / 0.7381 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.4558, allocations: 40.48 kB / 0.7382 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4559, allocations: 12.33 kB / 0.7382 GB, free: 15.2 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.0001972/0.4561, allocations: 273.6 kB / 0.7384 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.4561, allocations: 74.66 kB / 0.7385 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.4568, allocations: 0.5396 MB / 0.739 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4568, allocations: 2.375 kB / 0.739 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4568, allocations: 0 / 0.739 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4568, allocations: 1.547 kB / 0.739 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.459, allocations: 2.443 MB / 0.7414 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.459, allocations: 4.625 kB / 0.7414 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4592, allocations: 55.3 kB / 0.7415 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.4592, allocations: 9.406 kB / 0.7415 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4592, allocations: 12.14 kB / 0.7415 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.4592, allocations: 14.47 kB / 0.7415 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4592, allocations: 4.531 kB / 0.7415 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.4598, allocations: 0.6545 MB / 0.7422 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.4599, allocations: 88.48 kB / 0.7422 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.46, allocations: 6.906 kB / 0.7422 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4601, allocations: 20.38 kB / 0.7423 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.4602, allocations: 34.81 kB / 0.7423 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4602, allocations: 10.34 kB / 0.7423 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0011/0.4613, allocations: 1.582 MB / 0.7439 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4613, allocations: 1 kB / 0.7439 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004634/0.4617, allocations: 176 kB / 0.744 GB, free: 12.79 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.000216/0.462, allocations: 171.8 kB / 0.7442 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.4627, allocations: 0.7634 MB / 0.7449 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4627, allocations: 1.438 kB / 0.7449 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.463, allocations: 225.4 kB / 0.7451 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.4635, allocations: 175 kB / 0.7453 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4649, allocations: 1.43 MB / 0.7467 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4652, allocations: 332.6 kB / 0.747 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4653, allocations: 46.88 kB / 0.7471 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4653, allocations: 0 / 0.7471 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.009284/0.4746, allocations: 8.913 MB / 0.7558 GB, free: 8.676 MB / 0.6355 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: 6.556867214152589] Failed to read output from testmodel.py, exit status != 0: 0.48001860408112407 0.488974598 0.044038771000000004 Calling exit ...