Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.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.TestFlow1D2phDB_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf",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.001205/0.001205, allocations: 182 kB / 8.129 MB, free: 2.219 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.003/1.003, 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.0007933/0.0007932, allocations: 89.34 kB / 261.7 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.2753/0.2753, allocations: 48.75 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0865/0.3618, allocations: 66.37 MB / 424.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.4481, allocations: 60.25 MB / 485.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.822/4.27, allocations: 2.972 GB / 3.445 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/4.271, allocations: 84.36 kB / 3.445 GB, free: 77.35 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 1.018/5.289, allocations: 335.8 MB / 3.773 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/5.289, allocations: 17.91 kB / 3.773 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006594/5.295, allocations: 0.8605 MB / 3.774 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/5.306, allocations: 3.169 MB / 3.777 GB, free: 49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003141/5.309, allocations: 1.053 MB / 3.778 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00224/5.312, allocations: 105.4 kB / 3.778 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02543/5.337, allocations: 14.76 MB / 3.793 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/5.349, allocations: 7.74 MB / 3.8 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/5.349, allocations: 0 / 3.8 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/5.35, allocations: 2.391 kB / 3.8 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/5.35, allocations: 45.75 kB / 3.8 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07056/5.421, allocations: 48.88 MB / 3.848 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/5.431, allocations: 6.407 MB / 3.854 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007544/5.438, allocations: 5.664 MB / 3.86 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3423/5.781, allocations: 122.4 MB / 3.979 GB, free: 96.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/5.781, allocations: 59.81 kB / 3.98 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=222): time 3.847e-06/5.781, allocations: 0 / 3.98 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.04858/5.829, allocations: 20.47 MB / 3.999 GB, free: 96.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/5.829, allocations: 75.28 kB / 4 GB, free: 96.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/5.83, allocations: 0.5296 MB / 4 GB, free: 96.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008856/5.831, allocations: 25.7 kB / 4 GB, free: 96.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/5.831, allocations: 428.4 kB / 4.001 GB, free: 95.87 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/5.832, allocations: 0.74 MB / 4.001 GB, free: 95.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006549/5.833, allocations: 0 / 4.001 GB, free: 95.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001103/5.833, allocations: 428.4 kB / 4.002 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006247/5.839, allocations: 5.348 MB / 4.007 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006681/5.846, allocations: 5.614 MB / 4.012 GB, free: 94.93 MB / 0.5417 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[1] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[2] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[3] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[4] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[5] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[6] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[7] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[8] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[9] = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.1536/5.999, allocations: 53.32 MB / 4.064 GB, free: 89.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/5.999, allocations: 3 kB / 4.064 GB, free: 89.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.09857/6.098, allocations: 31.67 MB / 4.095 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/6.098, allocations: 1.67 MB / 4.097 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/6.098, allocations: 4 kB / 4.097 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1275/6.226, allocations: 47.49 MB / 4.143 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005536/6.232, allocations: 1.265 MB / 4.145 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02739/6.259, allocations: 15.29 MB / 4.16 GB, free: 22.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/6.272, allocations: 2.854 MB / 4.162 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/6.274, allocations: 242.9 kB / 4.163 GB, free: 20.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/6.274, allocations: 8 kB / 4.163 GB, free: 20.11 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8928/7.167, allocations: 210.3 MB / 4.368 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/7.167, allocations: 4 kB / 4.368 GB, free: 57.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2654/7.432, allocations: 47.16 MB / 4.414 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/7.438, allocations: 1.273 MB / 4.415 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/7.459, allocations: 14.82 MB / 4.43 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/7.472, allocations: 2.845 MB / 4.432 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/7.473, allocations: 244.2 kB / 4.433 GB, free: 128.4 MB / 0.5417 GB Warning: Assuming redundant initial conditions for the following 10 initial equations: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,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 (172): * Single equations (assignments): 171 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.001551/7.475, allocations: 155.2 kB / 4.433 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/7.477, allocations: 0.686 MB / 4.433 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02324/7.5, allocations: 16.07 MB / 4.449 GB, free: 128 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02376/7.524, allocations: 14.29 MB / 4.463 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/7.524, allocations: 15.16 kB / 4.463 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/7.524, allocations: 13.92 kB / 4.463 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04067/7.565, allocations: 30.3 MB / 4.493 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/7.565, allocations: 0 / 4.493 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01496/7.58, allocations: 3.399 MB / 4.496 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004235/7.584, allocations: 1.084 MB / 4.497 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001979/7.586, allocations: 213.7 kB / 4.497 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007824/7.594, allocations: 5.56 MB / 4.503 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/7.594, allocations: 0.6562 kB / 4.503 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03625/7.63, allocations: 20.04 MB / 4.522 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04489/7.675, allocations: 29.32 MB / 4.551 GB, free: 81.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003893/7.679, allocations: 1.436 MB / 4.552 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/7.681, allocations: 19.52 kB / 4.552 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01221/7.693, allocations: 2.825 MB / 4.555 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/7.694, allocations: 324.7 kB / 4.555 GB, free: 78.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001092/7.695, allocations: 229 kB / 4.556 GB, free: 78.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0004402/7.696, allocations: 398.1 kB / 4.556 GB, free: 78.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01142/7.707, allocations: 2.985 MB / 4.559 GB, free: 75.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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]) * Number of discrete variables: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.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.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007419/7.715, allocations: 1.673 MB / 4.561 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02409/7.739, allocations: 19.63 MB / 4.58 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/7.739, allocations: 0 / 4.58 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009071/7.748, allocations: 8.296 MB / 4.588 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/7.75, allocations: 344.2 kB / 4.588 GB, free: 49.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/7.77, allocations: 10.97 MB / 4.599 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1493/7.919, allocations: 2.285 MB / 4.601 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/7.919, allocations: 3.969 kB / 4.601 GB, free: 126.4 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe 2>&1)