Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 190.2 kB / 8.136 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 205.2 MB / 213.7 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008443/0.0008443, allocations: 94.34 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2772/0.2772, allocations: 48.75 MB / 358.4 MB, free: 53.15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.274e-06, allocations: 4 kB / 424.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.0933, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.895/3.989, allocations: 2.971 GB / 3.445 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/3.989, allocations: 87.28 kB / 3.445 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.9921/4.981, allocations: 316.1 MB / 3.754 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.784e-05/4.981, allocations: 41.84 kB / 3.754 GB, free: 51.29 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.02296/5.004, allocations: 6.726 MB / 3.76 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/5.004, allocations: 10.84 kB / 3.76 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/5.008, allocations: 0.7514 MB / 3.761 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007511/5.016, allocations: 2.743 MB / 3.764 GB, free: 50 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00166/5.017, allocations: 0.81 MB / 3.764 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009038/5.018, allocations: 119.9 kB / 3.765 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01705/5.035, allocations: 11.58 MB / 3.776 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009134/5.044, allocations: 6.547 MB / 3.782 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/5.045, allocations: 0 / 3.782 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006562/5.045, allocations: 3.75 kB / 3.782 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/5.045, allocations: 44.56 kB / 3.782 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/5.088, allocations: 30.63 MB / 3.812 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/5.094, allocations: 5.572 MB / 3.818 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005083/5.099, allocations: 4.684 MB / 3.822 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2328/5.332, allocations: 128.2 MB / 3.947 GB, free: 14.65 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/5.332, allocations: 64.5 kB / 3.948 GB, free: 14.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=247): time 5.6e-06/5.332, allocations: 0 / 3.948 GB, free: 14.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=248): time 0.1963/5.528, allocations: 17.95 MB / 3.965 GB, free: 161.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/5.528, allocations: 102.1 kB / 3.965 GB, free: 161.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/5.529, allocations: 435.4 kB / 3.966 GB, free: 161.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/5.53, allocations: 35.23 kB / 3.966 GB, free: 161.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/5.531, allocations: 410.8 kB / 3.966 GB, free: 161.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/5.532, allocations: 0.8203 MB / 3.967 GB, free: 161 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005351/5.532, allocations: 3.156 kB / 3.967 GB, free: 161 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001108/5.532, allocations: 436.6 kB / 3.967 GB, free: 160.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/5.537, allocations: 4.334 MB / 3.971 GB, free: 160.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/5.542, allocations: 4.599 MB / 3.976 GB, free: 160.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006547/5.549, allocations: 3.696 MB / 3.98 GB, free: 160.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/5.549, allocations: 1.688 kB / 3.98 GB, free: 160.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02159/5.57, allocations: 14.06 MB / 3.993 GB, free: 160.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/5.571, allocations: 1.495 MB / 3.995 GB, free: 158.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/5.571, allocations: 3.844 kB / 3.995 GB, free: 158.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1042/5.675, allocations: 40.09 MB / 4.034 GB, free: 158.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/5.676, allocations: 159.4 kB / 4.034 GB, free: 158.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/5.705, allocations: 17.35 MB / 4.051 GB, free: 157.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009704/5.714, allocations: 2.166 MB / 4.053 GB, free: 157.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006903/5.715, allocations: 208.5 kB / 4.053 GB, free: 157.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/5.715, allocations: 3.812 kB / 4.053 GB, free: 157.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06223/5.777, allocations: 23.37 MB / 4.076 GB, free: 152.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/5.777, allocations: 11.14 kB / 4.076 GB, free: 152.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1056/5.883, allocations: 39.7 MB / 4.115 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/5.884, allocations: 179.9 kB / 4.115 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03058/5.915, allocations: 16.82 MB / 4.131 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009578/5.924, allocations: 2.164 MB / 4.134 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007068/5.925, allocations: 209 kB / 4.134 GB, free: 117.1 MB / 0.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[7]:VARIABLE(flow=true unit = "W/m2" ) "Heat flux at the nodes" type: Real [8] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 198} Notification: Performance of prepare postOptimizeDAE: time 0.001304/5.926, allocations: 130 kB / 4.134 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/5.928, allocations: 0.5897 MB / 4.135 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/5.948, allocations: 13.97 MB / 4.148 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01681/5.965, allocations: 12.41 MB / 4.16 GB, free: 94.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.082e-05/5.965, allocations: 8 kB / 4.16 GB, free: 94.35 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/5.965, allocations: 11.53 kB / 4.16 GB, free: 94.35 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.173/6.138, allocations: 26.33 MB / 4.186 GB, free: 160.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/6.138, allocations: 5.469 kB / 4.186 GB, free: 160.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01162/6.149, allocations: 2.638 MB / 4.189 GB, free: 160.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00483/6.154, allocations: 1.494 MB / 4.19 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000894/6.155, allocations: 180 kB / 4.19 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/6.173, allocations: 26.12 MB / 4.216 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/6.173, allocations: 7.281 kB / 4.216 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02704/6.2, allocations: 17.77 MB / 4.233 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/6.202, allocations: 1.233 MB / 4.234 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009468/6.203, allocations: 24.05 kB / 4.234 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00894/6.212, allocations: 2.151 MB / 4.236 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007417/6.213, allocations: 296 kB / 4.237 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006646/6.213, allocations: 201.9 kB / 4.237 GB, free: 138.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0003182/6.214, allocations: 337.2 kB / 4.237 GB, free: 138.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008273/6.222, allocations: 2.633 MB / 4.24 GB, free: 138.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 20 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse15.phase,$cse15.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005596/6.227, allocations: 1.702 MB / 4.241 GB, free: 138 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02452/6.252, allocations: 17.04 MB / 4.258 GB, free: 137.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/6.252, allocations: 0 / 4.258 GB, free: 137.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009539/6.262, allocations: 8.738 MB / 4.267 GB, free: 136.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/6.264, allocations: 420.5 kB / 4.267 GB, free: 136.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/6.28, allocations: 10.05 MB / 4.277 GB, free: 134.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/6.283, allocations: 2.101 MB / 4.279 GB, free: 133.9 MB / 0.573 GB Notification: Performance of SimCode: time 7.32e-07/6.283, allocations: 0 / 4.279 GB, free: 133.9 MB / 0.573 GB Notification: Performance of Templates: time 0.3624/6.646, allocations: 228.7 MB / 4.502 GB, free: 144.6 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)