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.0009437/0.0009437, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009651/0.0009651, allocations: 181 kB / 23.36 MB, free: 1.133 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.13/1.13, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 0.787/0.787, allocations: 154.9 MB / 415.1 MB, free: 248 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 179] 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.392e-06/1.392e-06, allocations: 0 / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.046e-05, allocations: 8.078 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.006007/0.006027, allocations: 2.241 MB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005326/0.01135, allocations: 1.38 MB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.01144, allocations: 0.5312 kB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.012, allocations: 243.6 kB / 484.3 MB, free: 2.668 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007438/0.01274, allocations: 428.1 kB / 484.7 MB, free: 2.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.181e-06/0.01275, allocations: 0.5938 kB / 484.7 MB, free: 2.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.01308, allocations: 402.3 kB / 485.1 MB, free: 1.855 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.01313, allocations: 19.31 kB / 485.1 MB, free: 1.836 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.01329, allocations: 195.4 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.01656, allocations: 177.1 kB / 485.5 MB, free: 1.473 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.01659, allocations: 20 kB / 485.5 MB, free: 1.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.01709, allocations: 307.6 kB / 485.8 MB, free: 1.152 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.01736, allocations: 383.1 kB / 486.2 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.01753, allocations: 200.4 kB / 486.4 MB, free: 0.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009033/0.01844, allocations: 0.6344 MB / 487 MB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01844, allocations: 0.75 kB / 487 MB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01844, allocations: 0 / 487 MB, free: 15.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.01844, allocations: 0.9688 kB / 487 MB, free: 15.95 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.003811/0.02226, allocations: 0.8503 MB / 487.9 MB, free: 15.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.02229, allocations: 8.031 kB / 487.9 MB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.02265, allocations: 110.4 kB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.02314, allocations: 479.1 kB / 488.4 MB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.02316, allocations: 16.31 kB / 488.5 MB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.02319, allocations: 17.08 kB / 488.5 MB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.02344, allocations: 156 kB / 488.6 MB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.02345, allocations: 0.9375 kB / 488.6 MB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.02347, allocations: 8.375 kB / 488.6 MB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.02348, allocations: 8.625 kB / 488.6 MB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.02367, allocations: 98.58 kB / 488.7 MB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009954/0.02467, allocations: 0.657 MB / 489.4 MB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.02496, allocations: 152.7 kB / 489.5 MB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.02503, allocations: 41.8 kB / 489.6 MB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.02507, allocations: 23.98 kB / 489.6 MB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.0251, allocations: 42.5 kB / 489.6 MB, free: 13.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.0251, allocations: 0.5312 kB / 489.6 MB, free: 13.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.003339/0.02844, allocations: 142.7 kB / 489.8 MB, free: 13.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.02847, allocations: 59.91 kB / 489.8 MB, free: 13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.0293, allocations: 0.8648 MB / 490.7 MB, free: 12.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.02933, allocations: 30.2 kB / 490.7 MB, free: 12.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.02946, allocations: 211 kB / 490.9 MB, free: 11.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.02951, allocations: 67.41 kB / 491 MB, free: 11.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.0296, allocations: 54.56 kB / 491.1 MB, free: 11.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.02969, allocations: 314 kB / 491.4 MB, free: 11.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.02981, allocations: 54.81 kB / 491.4 MB, free: 11.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.02994, allocations: 82.81 kB / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.03018, allocations: 136.3 kB / 491.6 MB, free: 11.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03018, allocations: 0.5312 kB / 491.6 MB, free: 11.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003535/0.03053, allocations: 206.4 kB / 491.8 MB, free: 10.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.03055, allocations: 8 kB / 491.8 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.03055, allocations: 1 kB / 491.9 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.03056, allocations: 0 / 491.9 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.03081, allocations: 72.92 kB / 491.9 MB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.03081, allocations: 0 / 491.9 MB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.03101, allocations: 42.02 kB / 492 MB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.03102, allocations: 0 / 492 MB, free: 10.84 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.0001173/0.03114, allocations: 124.6 kB / 492.1 MB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.03121, allocations: 43.94 kB / 492.1 MB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.0315, allocations: 168.2 kB / 492.3 MB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0315, allocations: 0.8125 kB / 492.3 MB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.03151, allocations: 0 / 492.3 MB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.03151, allocations: 8.828 kB / 492.3 MB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.03257, allocations: 0.886 MB / 493.2 MB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.03258, allocations: 6.344 kB / 493.2 MB, free: 9.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.03274, allocations: 47.89 kB / 493.2 MB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.03274, allocations: 8 kB / 493.2 MB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.03276, allocations: 4 kB / 493.3 MB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.03277, allocations: 8 kB / 493.3 MB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.03277, allocations: 12.56 kB / 493.3 MB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.0331, allocations: 331.4 kB / 493.6 MB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/0.0332, allocations: 79.53 kB / 493.7 MB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.03327, allocations: 8 kB / 493.7 MB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.03346, allocations: 15.98 kB / 493.7 MB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.03351, allocations: 25.7 kB / 493.7 MB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.03352, allocations: 11.98 kB / 493.7 MB, free: 8.859 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000533/0.03406, allocations: 0.5122 MB / 494.2 MB, free: 8.352 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03406, allocations: 0 / 494.2 MB, free: 8.352 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004847/0.03454, allocations: 179.8 kB / 494.4 MB, free: 8.176 MB / 458.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.0002921/0.03483, allocations: 161.6 kB / 494.6 MB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.03511, allocations: 139.2 kB / 494.7 MB, free: 7.875 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.03512, allocations: 8 kB / 494.7 MB, free: 7.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.03522, allocations: 67.64 kB / 494.8 MB, free: 7.801 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.0358, allocations: 179.2 kB / 495 MB, free: 7.629 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.03782, allocations: 1.324 MB / 496.3 MB, free: 6.223 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.03802, allocations: 205.4 kB / 496.5 MB, free: 6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000212/0.03824, allocations: 73.66 kB / 496.6 MB, free: 5.934 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.03862, allocations: 190.5 kB / 496.7 MB, free: 5.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03862, allocations: 0 / 496.7 MB, free: 5.75 MB / 458.7 MB Notification: Performance of Templates: time 0.01615/0.05477, allocations: 11.59 MB / 0.4964 GB, free: 10.73 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.927133230958134]