Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001852/0.001852, allocations: 85.48 kB / 19.44 MB, free: 344 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.001979/0.001979, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.321/1.321, allocations: 154.8 MB / 414.4 MB, free: 372 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.5199 GB, free: 1.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.741e-05, allocations: 3.297 kB / 0.5199 GB, free: 1.152 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003825/0.003852, allocations: 2.174 MB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.006335, allocations: 1.36 MB / 0.5233 GB, free: 13.63 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.006414, allocations: 3.938 kB / 0.5233 GB, free: 13.63 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.007, allocations: 239.8 kB / 0.5236 GB, free: 13.39 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009816/0.007982, allocations: 453 kB / 0.524 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.672e-06/0.007988, allocations: 0 / 0.524 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.008442, allocations: 409.7 kB / 0.5244 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.008479, allocations: 17.61 kB / 0.5244 GB, free: 12.54 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.008706, allocations: 187.5 kB / 0.5246 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.008956, allocations: 186.2 kB / 0.5248 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.009003, allocations: 24 kB / 0.5248 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.009564, allocations: 283.5 kB / 0.525 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.01006, allocations: 387 kB / 0.5254 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.01032, allocations: 199.5 kB / 0.5256 GB, free: 11.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.01135, allocations: 0.8449 MB / 0.5264 GB, free: 10.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01136, allocations: 0 / 0.5264 GB, free: 10.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01136, allocations: 0 / 0.5264 GB, free: 10.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.01136, allocations: 1.031 kB / 0.5264 GB, free: 10.45 MB / 458.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.001386/0.01275, allocations: 1.042 MB / 0.5275 GB, free: 9.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.01278, allocations: 12.97 kB / 0.5275 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.01337, allocations: 135.4 kB / 0.5276 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.01407, allocations: 497.1 kB / 0.5281 GB, free: 8.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.01409, allocations: 8.375 kB / 0.5281 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.01412, allocations: 16.38 kB / 0.5281 GB, free: 8.691 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.01455, allocations: 201.9 kB / 0.5283 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.01456, allocations: 192 / 0.5283 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.01458, allocations: 7.125 kB / 0.5283 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01459, allocations: 7.938 kB / 0.5283 GB, free: 8.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.01519, allocations: 255.8 kB / 0.5285 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.01705, allocations: 1.115 MB / 0.5296 GB, free: 7.074 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.01766, allocations: 230.5 kB / 0.5299 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.01791, allocations: 100.8 kB / 0.5299 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.01796, allocations: 24.83 kB / 0.53 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.018, allocations: 37.39 kB / 0.53 GB, free: 6.668 MB / 458.7 MB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.018, allocations: 0 / 0.53 GB, free: 6.668 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008719/0.01887, allocations: 343.1 kB / 0.5303 GB, free: 6.332 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.01891, allocations: 59.34 kB / 0.5304 GB, free: 6.262 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.02027, allocations: 1.068 MB / 0.5314 GB, free: 5.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.0203, allocations: 29.7 kB / 0.5315 GB, free: 5.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.02071, allocations: 427 kB / 0.5319 GB, free: 4.723 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.02077, allocations: 71.41 kB / 0.5319 GB, free: 4.652 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.0209, allocations: 63.36 kB / 0.532 GB, free: 4.582 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003931/0.02129, allocations: 0.4887 MB / 0.5325 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.02155, allocations: 102.3 kB / 0.5326 GB, free: 3.988 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.02183, allocations: 135.3 kB / 0.5327 GB, free: 3.848 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.02236, allocations: 235.3 kB / 0.5329 GB, free: 3.613 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.02236, allocations: 0 / 0.5329 GB, free: 3.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007992/0.02316, allocations: 367.3 kB / 0.5333 GB, free: 3.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02318, allocations: 8 kB / 0.5333 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.02318, allocations: 3.906 kB / 0.5333 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.02319, allocations: 0 / 0.5333 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.02351, allocations: 67.83 kB / 0.5334 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.02351, allocations: 0 / 0.5334 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.02381, allocations: 35.77 kB / 0.5334 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.02384, allocations: 8 kB / 0.5334 GB, free: 3.133 MB / 458.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.0001845/0.02402, allocations: 176.5 kB / 0.5336 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.02415, allocations: 79.53 kB / 0.5336 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006879/0.02483, allocations: 283 kB / 0.5339 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.02484, allocations: 4 kB / 0.5339 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.02484, allocations: 3.938 kB / 0.5339 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.02485, allocations: 0 / 0.5339 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.0271, allocations: 1.355 MB / 0.5352 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.02711, allocations: 4 kB / 0.5352 GB, free: 1.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.02734, allocations: 44.47 kB / 0.5353 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.02735, allocations: 8.938 kB / 0.5353 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.02737, allocations: 11.98 kB / 0.5353 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.02739, allocations: 20.94 kB / 0.5353 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.02739, allocations: 4 kB / 0.5353 GB, free: 1.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.0282, allocations: 484.1 kB / 0.5358 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.02838, allocations: 84.14 kB / 0.5359 GB, free: 376 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.02846, allocations: 8 kB / 0.5359 GB, free: 368 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.02874, allocations: 21.14 kB / 0.5359 GB, free: 348 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.0288, allocations: 27.86 kB / 0.5359 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.02882, allocations: 15.98 kB / 0.5359 GB, free: 304 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009127/0.02973, allocations: 0.7109 MB / 0.5366 GB, free: 15.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02973, allocations: 0 / 0.5366 GB, free: 15.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005523/0.03029, allocations: 168.8 kB / 0.5368 GB, free: 15.42 MB / 474.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.0003214/0.03061, allocations: 177 kB / 0.537 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005945/0.0312, allocations: 233.8 kB / 0.5372 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.0312, allocations: 0 / 0.5372 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.03146, allocations: 116.1 kB / 0.5373 GB, free: 14.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.03217, allocations: 187.7 kB / 0.5375 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.03436, allocations: 1.369 MB / 0.5388 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.03483, allocations: 394.7 kB / 0.5392 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.03509, allocations: 70.16 kB / 0.5393 GB, free: 12.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.03522, allocations: 46.33 kB / 0.5393 GB, free: 12.73 MB / 474.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03522, allocations: 0 / 0.5393 GB, free: 12.73 MB / 474.7 MB Notification: Performance of Templates: time 0.0197/0.05493, allocations: 10.49 MB / 0.5495 GB, free: 2.59 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.250724723096937]