Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",fmuType="me",version="2.0",platforms={"static"}) [: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.00108/0.00108, allocations: 184 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9945/0.9945, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0008/0.0007998, allocations: 82.22 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2867/0.2867, allocations: 48.76 MB / 358.4 MB, free: 53.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09636/0.3832, allocations: 66.37 MB / 424.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.4761, allocations: 60.25 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.537/5.013, allocations: 3.283 GB / 3.757 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/5.014, allocations: 77.2 kB / 3.757 GB, free: 133.9 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 2.908/7.922, allocations: 1.339 GB / 5.096 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/7.922, allocations: 8 kB / 5.096 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/7.923, allocations: 253.2 kB / 5.097 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/7.927, allocations: 1.565 MB / 5.098 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/7.927, allocations: 76 kB / 5.098 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/7.927, allocations: 143.8 kB / 5.098 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006127/7.933, allocations: 5.542 MB / 5.104 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/7.937, allocations: 3.613 MB / 5.107 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/7.937, allocations: 0 / 5.107 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/7.938, allocations: 4 kB / 5.107 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.797e-05/7.938, allocations: 148.9 kB / 5.107 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/8.09, allocations: 15.13 MB / 5.122 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/8.094, allocations: 3.946 MB / 5.126 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/8.095, allocations: 1.909 MB / 5.128 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009661/8.105, allocations: 10.03 MB / 5.138 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/8.105, allocations: 65.42 kB / 5.138 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 3.597e-06/8.105, allocations: 7.031 kB / 5.138 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.009835/8.115, allocations: 4.927 MB / 5.143 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/8.115, allocations: 79.75 kB / 5.143 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/8.116, allocations: 0.6299 MB / 5.143 GB, free: 93.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/8.116, allocations: 29.55 kB / 5.143 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/8.116, allocations: 0.7764 MB / 5.144 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/8.117, allocations: 0.8209 MB / 5.145 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/8.117, allocations: 0 / 5.145 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001411/8.117, allocations: 457.2 kB / 5.145 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/8.118, allocations: 1.371 MB / 5.147 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/8.12, allocations: 2.014 MB / 5.149 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/8.123, allocations: 1.805 MB / 5.15 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-06/8.123, allocations: 3.625 kB / 5.15 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006847/8.13, allocations: 4.388 MB / 5.155 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009619/8.131, allocations: 7.13 MB / 5.162 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/8.131, allocations: 22.16 kB / 5.162 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/8.134, allocations: 1.114 MB / 5.163 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/8.136, allocations: 492.5 kB / 5.163 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/8.144, allocations: 12.06 MB / 5.175 GB, free: 73.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/8.146, allocations: 323.4 kB / 5.175 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/8.147, allocations: 114.7 kB / 5.175 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/8.147, allocations: 3.812 kB / 5.175 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007038/8.154, allocations: 4.122 MB / 5.179 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/8.154, allocations: 20.75 kB / 5.179 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/8.157, allocations: 1.111 MB / 5.181 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/8.159, allocations: 480.7 kB / 5.181 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007618/8.166, allocations: 12.07 MB / 5.193 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/8.169, allocations: 278.8 kB / 5.193 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003986/8.169, allocations: 113.8 kB / 5.193 GB, free: 63.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006844/8.17, allocations: 173.6 kB / 5.193 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/8.17, allocations: 142 kB / 5.193 GB, free: 63.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/8.182, allocations: 5.559 MB / 5.199 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/8.182, allocations: 23.38 kB / 5.199 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/8.182, allocations: 16.5 kB / 5.199 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/8.182, allocations: 11.3 kB / 5.199 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/8.185, allocations: 2.252 MB / 5.201 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/8.185, allocations: 2.312 kB / 5.201 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/8.186, allocations: 331.2 kB / 5.201 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008755/8.195, allocations: 2.658 MB / 5.204 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/8.195, allocations: 72.11 kB / 5.204 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/8.212, allocations: 10.14 MB / 5.214 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/8.212, allocations: 3.969 kB / 5.214 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01258/8.225, allocations: 7.227 MB / 5.221 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01525/8.24, allocations: 9.719 MB / 5.231 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/8.241, allocations: 0.5651 MB / 5.231 GB, free: 58.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/8.242, allocations: 36.88 kB / 5.231 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/8.244, allocations: 143.9 kB / 5.231 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/8.244, allocations: 139.9 kB / 5.231 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/8.244, allocations: 80.88 kB / 5.231 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005817/8.245, allocations: 468 kB / 5.232 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005868/8.251, allocations: 1.494 MB / 5.233 GB, free: 57.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 179 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005779/8.251, allocations: 337.5 kB / 5.234 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01141/8.263, allocations: 6.265 MB / 5.24 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/8.263, allocations: 0 / 5.24 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005074/8.268, allocations: 2.546 MB / 5.242 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/8.271, allocations: 0.7633 MB / 5.243 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009316/8.281, allocations: 5.346 MB / 5.248 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/8.283, allocations: 2.038 MB / 5.25 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/8.283, allocations: 2.625 kB / 5.25 GB, free: 52.46 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1)