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.0009915/0.0009915, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001059/0.001059, allocations: 169 kB / 23.49 MB, free: 1.055 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.637 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-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.8041/0.8041, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.082e-05/4.381e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003778/0.003822, allocations: 2.208 MB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.006231, allocations: 1.364 MB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.006354, allocations: 4.875 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.007052, allocations: 239 kB / 0.5241 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008285/0.007881, allocations: 453.3 kB / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 5.922e-06/0.007887, allocations: 0 / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.008245, allocations: 406.3 kB / 0.5249 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.008311, allocations: 21.19 kB / 0.5249 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.008527, allocations: 183.5 kB / 0.5251 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.008822, allocations: 184 kB / 0.5253 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.008869, allocations: 20.66 kB / 0.5253 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.00955, allocations: 283.5 kB / 0.5255 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.009862, allocations: 394 kB / 0.5259 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01003, allocations: 195.5 kB / 0.5261 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.01072, allocations: 0.6344 MB / 0.5267 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.01073, allocations: 3.984 kB / 0.5267 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.01073, allocations: 0 / 0.5267 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.01074, allocations: 0 / 0.5267 GB, free: 11.96 MB / 0.4948 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.0009642/0.0117, allocations: 1.011 MB / 0.5277 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01174, allocations: 8.031 kB / 0.5277 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.01213, allocations: 135.5 kB / 0.5279 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.01259, allocations: 0.5088 MB / 0.5284 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.01261, allocations: 12.38 kB / 0.5284 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.01263, allocations: 12.38 kB / 0.5284 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.01309, allocations: 177 kB / 0.5285 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.0131, allocations: 4.188 kB / 0.5286 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.01312, allocations: 4.375 kB / 0.5286 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.01313, allocations: 7.938 kB / 0.5286 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.01336, allocations: 160.4 kB / 0.5287 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01447, allocations: 1.06 MB / 0.5298 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.01478, allocations: 143.2 kB / 0.5299 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.01487, allocations: 58.41 kB / 0.5299 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.01491, allocations: 27.98 kB / 0.53 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.01494, allocations: 41.39 kB / 0.53 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.01494, allocations: 0 / 0.53 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0003854/0.01532, allocations: 223 kB / 0.5302 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.01536, allocations: 63.34 kB / 0.5303 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/0.0161, allocations: 1.036 MB / 0.5313 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01612, allocations: 33.7 kB / 0.5313 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.01634, allocations: 418.8 kB / 0.5317 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.01638, allocations: 67.42 kB / 0.5318 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.01645, allocations: 67.88 kB / 0.5319 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000414/0.01687, allocations: 492.4 kB / 0.5323 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.01697, allocations: 66.27 kB / 0.5324 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01708, allocations: 91.33 kB / 0.5325 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.01727, allocations: 145.6 kB / 0.5326 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01728, allocations: 0 / 0.5326 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000344/0.01762, allocations: 299.2 kB / 0.5329 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01764, allocations: 4 kB / 0.5329 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01765, allocations: 1.5 kB / 0.5329 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01766, allocations: 4 kB / 0.5329 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.01783, allocations: 63.84 kB / 0.533 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.01784, allocations: 9.109 kB / 0.533 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.01797, allocations: 19.84 kB / 0.533 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01799, allocations: 15.98 kB / 0.533 GB, free: 5.336 MB / 0.4948 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.0001072/0.0181, allocations: 169.6 kB / 0.5332 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.01816, allocations: 75.52 kB / 0.5332 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.01847, allocations: 215.8 kB / 0.5335 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01847, allocations: 4 kB / 0.5335 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01847, allocations: 4.75 kB / 0.5335 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01848, allocations: 0 / 0.5335 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.01947, allocations: 1.161 MB / 0.5346 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.01947, allocations: 4 kB / 0.5346 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.01958, allocations: 47.91 kB / 0.5346 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01959, allocations: 4 kB / 0.5346 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.0196, allocations: 12 kB / 0.5347 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.01961, allocations: 19.81 kB / 0.5347 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01962, allocations: 4 kB / 0.5347 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.01995, allocations: 408.8 kB / 0.5351 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.02002, allocations: 79.5 kB / 0.5351 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.02007, allocations: 15.98 kB / 0.5352 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.02021, allocations: 15.94 kB / 0.5352 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.02025, allocations: 32.34 kB / 0.5352 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.02026, allocations: 8.969 kB / 0.5352 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004971/0.02076, allocations: 0.7177 MB / 0.5359 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02076, allocations: 0 / 0.5359 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003333/0.02109, allocations: 172.9 kB / 0.5361 GB, free: 1.969 MB / 0.4948 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.0002578/0.02135, allocations: 176 kB / 0.5362 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.02161, allocations: 151 kB / 0.5364 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02161, allocations: 0 / 0.5364 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.545e-05/0.0217, allocations: 77.39 kB / 0.5365 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.02219, allocations: 185.9 kB / 0.5366 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.02389, allocations: 1.354 MB / 0.538 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.02403, allocations: 213.4 kB / 0.5382 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.02416, allocations: 60.83 kB / 0.5382 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.02424, allocations: 45.17 kB / 0.5383 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.02425, allocations: 0 / 0.5383 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.01324/0.03748, allocations: 10.8 MB / 0.5488 GB, free: 5.164 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.003426453098655]