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.0006928/0.0006928, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008856/0.001578, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006806/0.0006806, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009075/0.001588, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.035/1.035, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09921/1.134, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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-545:108: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-545:116: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.8157/0.8157, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2934/1.109, allocations: 49.05 MB / 447.8 MB, free: 6.543 MB / 426.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.326e-05, allocations: 8.281 kB / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002583/0.002606, allocations: 2.255 MB / 451.4 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.004451, allocations: 1.388 MB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004552, allocations: 0.875 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.005007, allocations: 246.9 kB / 453.1 MB, free: 1.395 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.005755, allocations: 425.3 kB / 453.5 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.023e-06/0.005762, allocations: 4 kB / 453.5 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.006106, allocations: 398.3 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.006157, allocations: 19.86 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.006363, allocations: 225.2 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.006541, allocations: 175.4 kB / 454.3 MB, free: 176 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.006568, allocations: 20.66 kB / 454.3 MB, free: 156 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.007069, allocations: 316.7 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.007359, allocations: 359.3 kB / 455 MB, free: 15.49 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.007488, allocations: 163.6 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.008073, allocations: 0.5916 MB / 455.7 MB, free: 14.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.008083, allocations: 1.062 kB / 455.7 MB, free: 14.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.008085, allocations: 0 / 455.7 MB, free: 14.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.008094, allocations: 1.156 kB / 455.7 MB, free: 14.74 MB / 442.7 MB 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.0008557/0.008949, allocations: 0.9758 MB / 456.7 MB, free: 13.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.008979, allocations: 8.031 kB / 456.7 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.009307, allocations: 176.1 kB / 456.9 MB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.009665, allocations: 489.1 kB / 457.3 MB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.00968, allocations: 12.38 kB / 457.4 MB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.009699, allocations: 13.88 kB / 457.4 MB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.009929, allocations: 167.5 kB / 457.5 MB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.009935, allocations: 192 / 457.5 MB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.009949, allocations: 5.062 kB / 457.5 MB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.009956, allocations: 7.938 kB / 457.5 MB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.01009, allocations: 102.5 kB / 457.6 MB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/0.011, allocations: 0.6556 MB / 458.3 MB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.01125, allocations: 160.2 kB / 458.5 MB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.0113, allocations: 36.84 kB / 458.5 MB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.01134, allocations: 27.98 kB / 458.5 MB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01136, allocations: 31.31 kB / 458.5 MB, free: 11.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.385e-06/0.01136, allocations: 1.734 kB / 458.5 MB, free: 11.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002236/0.01159, allocations: 152.4 kB / 458.7 MB, free: 11.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.01161, allocations: 56.09 kB / 458.8 MB, free: 11.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.01215, allocations: 0.8764 MB / 459.6 MB, free: 10.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01217, allocations: 26.33 kB / 459.7 MB, free: 10.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.01227, allocations: 206.6 kB / 459.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.0123, allocations: 71.41 kB / 459.9 MB, free: 10.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.01236, allocations: 54.25 kB / 460 MB, free: 10.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.01243, allocations: 318 kB / 460.3 MB, free: 10 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.01251, allocations: 55.38 kB / 460.3 MB, free: 9.949 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.0126, allocations: 71.86 kB / 460.4 MB, free: 9.875 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01278, allocations: 159.6 kB / 460.6 MB, free: 9.711 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01278, allocations: 0 / 460.6 MB, free: 9.711 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003387/0.01312, allocations: 207.2 kB / 460.8 MB, free: 9.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01313, allocations: 4 kB / 460.8 MB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01314, allocations: 4.906 kB / 460.8 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01316, allocations: 0 / 460.8 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.01342, allocations: 64.95 kB / 460.8 MB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01342, allocations: 0 / 460.8 MB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.01361, allocations: 36.62 kB / 460.9 MB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.01363, allocations: 15.92 kB / 460.9 MB, free: 9.379 MB / 442.7 MB 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.0001082/0.01374, allocations: 114.1 kB / 461 MB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.01379, allocations: 43.95 kB / 461 MB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01402, allocations: 177.2 kB / 461.2 MB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01402, allocations: 0 / 461.2 MB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01402, allocations: 9.734 kB / 461.2 MB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01403, allocations: 3.938 kB / 461.2 MB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.01517, allocations: 0.8772 MB / 462.1 MB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.01517, allocations: 5.094 kB / 462.1 MB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.0153, allocations: 51.91 kB / 462.2 MB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.01537, allocations: 71.55 kB / 462.2 MB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01537, allocations: 4.875 kB / 462.2 MB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01539, allocations: 12 kB / 462.3 MB, free: 7.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.01539, allocations: 9.391 kB / 462.3 MB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.0154, allocations: 15.88 kB / 462.3 MB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.01567, allocations: 328.2 kB / 462.6 MB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.01571, allocations: 12.55 kB / 462.6 MB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.01584, allocations: 13.44 kB / 462.6 MB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.01587, allocations: 27.84 kB / 462.7 MB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01589, allocations: 12 kB / 462.7 MB, free: 7.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003413/0.01623, allocations: 0.512 MB / 463.2 MB, free: 6.887 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01623, allocations: 0 / 463.2 MB, free: 6.887 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.01656, allocations: 169.1 kB / 463.3 MB, free: 6.723 MB / 442.7 MB 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.0002362/0.01679, allocations: 179.1 kB / 463.5 MB, free: 6.543 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01699, allocations: 141.1 kB / 463.7 MB, free: 6.402 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.017, allocations: 10.03 kB / 463.7 MB, free: 6.395 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.01715, allocations: 134 kB / 463.8 MB, free: 6.262 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.0181, allocations: 1.928 MB / 465.7 MB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.02619, allocations: 1.679 MB / 467.4 MB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.02633, allocations: 209.2 kB / 467.6 MB, free: 1.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.02654, allocations: 73.41 kB / 467.7 MB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.02682, allocations: 189.1 kB / 467.9 MB, free: 1.723 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/0.02683, allocations: 0 / 467.9 MB, free: 1.723 MB / 442.7 MB Notification: Performance of Templates: time 0.01445/0.04128, allocations: 12.24 MB / 480.1 MB, free: 6.113 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8210533056408167]