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.0007331/0.0007331, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001825, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007782/0.0007782, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.001977, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.133/1.133, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.237, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7883/0.7883, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3021/1.09, allocations: 49.04 MB / 447.6 MB, free: 6.672 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.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.255e-05, allocations: 4.281 kB / 448.9 MB, free: 5.383 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002506/0.002529, allocations: 2.125 MB / 451 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.004378, allocations: 1.388 MB / 452.4 MB, free: 1.934 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.004498, allocations: 4 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.004966, allocations: 243 kB / 452.6 MB, free: 1.691 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007979/0.005764, allocations: 420.1 kB / 453 MB, free: 1.281 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.835e-06/0.005772, allocations: 1.25 kB / 453 MB, free: 1.281 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.00614, allocations: 406.4 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.006198, allocations: 14.55 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.006432, allocations: 231.2 kB / 453.7 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.006805, allocations: 179.3 kB / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.006831, allocations: 24 kB / 453.9 MB, free: 452 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.007362, allocations: 305.6 kB / 454.2 MB, free: 148 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.007628, allocations: 363.4 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.007782, allocations: 167.6 kB / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.00842, allocations: 0.5877 MB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.008438, allocations: 0 / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.00844, allocations: 0 / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.008459, allocations: 0.875 kB / 455.3 MB, free: 15.04 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.001096/0.009555, allocations: 0.9679 MB / 456.3 MB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.009594, allocations: 12.92 kB / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.01, allocations: 179.1 kB / 456.4 MB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.01046, allocations: 485.7 kB / 456.9 MB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.01048, allocations: 9 kB / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.0105, allocations: 17 kB / 456.9 MB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.01073, allocations: 160.2 kB / 457.1 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.01074, allocations: 4.125 kB / 457.1 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.01076, allocations: 10.73 kB / 457.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.01077, allocations: 8.5 kB / 457.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.01092, allocations: 105.3 kB / 457.2 MB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.01178, allocations: 0.6535 MB / 457.9 MB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01203, allocations: 162.3 kB / 458 MB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.01209, allocations: 41.59 kB / 458.1 MB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.01213, allocations: 23.98 kB / 458.1 MB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.01215, allocations: 31.44 kB / 458.1 MB, free: 12.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.01215, allocations: 4 kB / 458.1 MB, free: 12.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.000263/0.01242, allocations: 148.5 kB / 458.3 MB, free: 11.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.01245, allocations: 56.09 kB / 458.3 MB, free: 11.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.01307, allocations: 0.8725 MB / 459.2 MB, free: 10.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.01309, allocations: 34.33 kB / 459.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.0132, allocations: 206.1 kB / 459.4 MB, free: 10.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.01324, allocations: 68.62 kB / 459.5 MB, free: 10.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.0133, allocations: 53.62 kB / 459.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.01338, allocations: 318 kB / 459.9 MB, free: 10.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.01347, allocations: 51.88 kB / 459.9 MB, free: 10.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.01357, allocations: 74.94 kB / 460 MB, free: 10.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.01374, allocations: 146.2 kB / 460.1 MB, free: 10.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01374, allocations: 3.938 kB / 460.1 MB, free: 10.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002589/0.014, allocations: 201.9 kB / 460.3 MB, free: 9.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01402, allocations: 4 kB / 460.3 MB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01403, allocations: 4 kB / 460.3 MB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.01404, allocations: 0 / 460.3 MB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01423, allocations: 72.64 kB / 460.4 MB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01424, allocations: 3.984 kB / 460.4 MB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.01436, allocations: 32.61 kB / 460.5 MB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.01437, allocations: 11.98 kB / 460.5 MB, free: 9.691 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.0001/0.01447, allocations: 121.8 kB / 460.6 MB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.01452, allocations: 39.95 kB / 460.6 MB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.01475, allocations: 175.7 kB / 460.8 MB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01475, allocations: 1.172 kB / 460.8 MB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01476, allocations: 9.094 kB / 460.8 MB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01476, allocations: 7.875 kB / 460.8 MB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009583/0.01572, allocations: 0.8825 MB / 461.7 MB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.01572, allocations: 4 kB / 461.7 MB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.01584, allocations: 51.89 kB / 461.7 MB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.01591, allocations: 72.59 kB / 461.8 MB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.01592, allocations: 4 kB / 461.8 MB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01593, allocations: 8.531 kB / 461.8 MB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.01594, allocations: 11.92 kB / 461.8 MB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.01595, allocations: 13 kB / 461.9 MB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.01621, allocations: 325.9 kB / 462.2 MB, free: 7.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.01626, allocations: 18.33 kB / 462.2 MB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01639, allocations: 8 kB / 462.2 MB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.01643, allocations: 27.84 kB / 462.2 MB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01643, allocations: 12 kB / 462.2 MB, free: 7.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.01678, allocations: 0.515 MB / 462.8 MB, free: 7.191 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01678, allocations: 0 / 462.8 MB, free: 7.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.01714, allocations: 173.4 kB / 462.9 MB, free: 7.023 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.0002249/0.01736, allocations: 164.1 kB / 463.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01761, allocations: 146.5 kB / 463.2 MB, free: 6.711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.13e-05/0.01763, allocations: 8 kB / 463.2 MB, free: 6.703 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.891e-05/0.01773, allocations: 59.2 kB / 463.3 MB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.01821, allocations: 252.7 kB / 463.5 MB, free: 6.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/0.02649, allocations: 1.686 MB / 465.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.02667, allocations: 209.2 kB / 465.4 MB, free: 4.414 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.02692, allocations: 64.27 kB / 465.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.02722, allocations: 193.8 kB / 465.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02722, allocations: 1.344 kB / 465.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of Templates: time 0.01557/0.04279, allocations: 12.2 MB / 477.9 MB, free: 8.621 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.007981111295521]