Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") [: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.001018/0.001018, allocations: 193.1 kB / 8.135 MB, free: 2.199 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.124/1.124, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0008556/0.0008555, allocations: 90.5 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3234/0.3234, allocations: 48.75 MB / 358.4 MB, free: 53.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.025e-06, allocations: 4 kB / 424.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.918/5.018, allocations: 2.959 GB / 3.433 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/5.019, allocations: 79.72 kB / 3.433 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.8174/5.836, allocations: 289.8 MB / 3.716 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.745e-05/5.836, allocations: 23.94 kB / 3.716 GB, free: 7.043 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.0078/5.844, allocations: 1.689 MB / 3.718 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/5.844, allocations: 8.031 kB / 3.718 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/5.846, allocations: 270.6 kB / 3.718 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/5.848, allocations: 0.6915 MB / 3.719 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/5.848, allocations: 28 kB / 3.719 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/5.848, allocations: 48 kB / 3.719 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001876/5.85, allocations: 1.121 MB / 3.72 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/5.852, allocations: 1.109 MB / 3.721 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/5.852, allocations: 0 / 3.721 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/5.852, allocations: 0 / 3.721 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/5.852, allocations: 45.98 kB / 3.721 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.206/6.058, allocations: 5.227 MB / 3.726 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/6.059, allocations: 0.7003 MB / 3.727 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/6.059, allocations: 351 kB / 3.727 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/6.174, allocations: 64.03 MB / 3.79 GB, free: 63.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/6.174, allocations: 37.69 kB / 3.79 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/6.174, allocations: 0 / 3.79 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.003599/6.178, allocations: 1.31 MB / 3.791 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/6.178, allocations: 63.84 kB / 3.791 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/6.178, allocations: 366.9 kB / 3.791 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/6.178, allocations: 25.7 kB / 3.791 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/6.178, allocations: 326.1 kB / 3.792 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/6.179, allocations: 232.1 kB / 3.792 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/6.179, allocations: 0 / 3.792 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/6.179, allocations: 367.5 kB / 3.792 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/6.179, allocations: 333.3 kB / 3.793 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/6.18, allocations: 484.5 kB / 3.793 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/6.18, allocations: 428.5 kB / 3.793 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/6.18, allocations: 3.719 kB / 3.793 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003051/6.184, allocations: 1.52 MB / 3.795 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/6.184, allocations: 0.9669 MB / 3.796 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/6.184, allocations: 4.625 kB / 3.796 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/6.186, allocations: 0.6117 MB / 3.796 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/6.186, allocations: 89.22 kB / 3.796 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/6.189, allocations: 1.854 MB / 3.798 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008489/6.19, allocations: 109.5 kB / 3.798 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/6.19, allocations: 32.94 kB / 3.798 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/6.19, allocations: 7.844 kB / 3.798 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002277/6.192, allocations: 1.137 MB / 3.8 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/6.192, allocations: 0 / 3.8 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/6.194, allocations: 0.6136 MB / 3.8 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/6.195, allocations: 88.61 kB / 3.8 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/6.197, allocations: 1.859 MB / 3.802 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/6.198, allocations: 100.9 kB / 3.802 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/6.198, allocations: 29.38 kB / 3.802 GB, free: 59.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.0002081/6.198, allocations: 131.5 kB / 3.802 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008514/6.199, allocations: 336.3 kB / 3.803 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/6.203, allocations: 3.039 MB / 3.806 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/6.203, allocations: 20.7 kB / 3.806 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/6.203, allocations: 4.906 kB / 3.806 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/6.203, allocations: 3.141 kB / 3.806 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/6.204, allocations: 1.261 MB / 3.807 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/6.204, allocations: 7.156 kB / 3.807 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/6.205, allocations: 102.2 kB / 3.807 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/6.206, allocations: 411.6 kB / 3.807 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/6.206, allocations: 18.72 kB / 3.807 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/6.21, allocations: 3.965 MB / 3.811 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/6.21, allocations: 0 / 3.811 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005397/6.216, allocations: 3.407 MB / 3.815 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/6.216, allocations: 245.6 kB / 3.815 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/6.216, allocations: 8.719 kB / 3.815 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/6.217, allocations: 61.8 kB / 3.815 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/6.217, allocations: 42.12 kB / 3.815 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/6.217, allocations: 25.83 kB / 3.815 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003517/6.218, allocations: 275.9 kB / 3.815 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007977/6.226, allocations: 1.276 MB / 3.816 GB, free: 56.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007092/6.233, allocations: 1.486 MB / 3.818 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003275/6.236, allocations: 2.196 MB / 3.82 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/6.236, allocations: 0 / 3.82 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/6.238, allocations: 1.631 MB / 3.822 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/6.239, allocations: 240.6 kB / 3.822 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/6.242, allocations: 2.377 MB / 3.824 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/6.243, allocations: 1.205 MB / 3.825 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/6.243, allocations: 0 / 3.825 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.05054/6.293, allocations: 42.31 MB / 3.867 GB, free: 52.15 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)