Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.000991/0.0009911, allocations: 193.7 kB / 7.804 MB, free: 2.508 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.37/1.37, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008737/0.0008737, allocations: 88.84 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.204/0.204, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2092/0.4133, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.7531, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.275/7.028, allocations: 2.793 GB / 3.259 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/7.029, allocations: 99.09 kB / 3.259 GB, free: 74.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 1.961/8.99, allocations: 0.489 GB / 3.748 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/8.99, allocations: 12.75 kB / 3.748 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/8.992, allocations: 239 kB / 3.748 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/8.994, allocations: 0.5887 MB / 3.749 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/8.994, allocations: 89.05 kB / 3.749 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/8.994, allocations: 35.81 kB / 3.749 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/8.995, allocations: 0.6375 MB / 3.749 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/8.997, allocations: 0.8894 MB / 3.75 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/8.997, allocations: 1.969 kB / 3.75 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/8.997, allocations: 3.812 kB / 3.75 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/8.997, allocations: 49.73 kB / 3.75 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.134/9.131, allocations: 67.6 MB / 3.816 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/9.131, allocations: 223.5 kB / 3.816 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/9.132, allocations: 162.5 kB / 3.817 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1013/9.233, allocations: 47.22 MB / 3.863 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/9.233, allocations: 37.72 kB / 3.863 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/9.233, allocations: 0 / 3.863 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.004786/9.238, allocations: 1.378 MB / 3.864 GB, free: 33.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/9.238, allocations: 132.1 kB / 3.864 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/9.239, allocations: 0.4926 MB / 3.865 GB, free: 33.26 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/9.239, allocations: 25.7 kB / 3.865 GB, free: 33.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/9.239, allocations: 372.7 kB / 3.865 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/9.24, allocations: 132.1 kB / 3.865 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/9.24, allocations: 7.75 kB / 3.865 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002059/9.24, allocations: 366.3 kB / 3.866 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/9.24, allocations: 232.1 kB / 3.866 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/9.241, allocations: 0.5788 MB / 3.866 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/9.242, allocations: 347.3 kB / 3.867 GB, free: 32.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/9.242, allocations: 4.312 kB / 3.867 GB, free: 32.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002392/9.244, allocations: 1.032 MB / 3.868 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/9.244, allocations: 3.844 kB / 3.868 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/9.244, allocations: 13.84 kB / 3.868 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/9.244, allocations: 75.58 kB / 3.868 GB, free: 32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/9.246, allocations: 282.9 kB / 3.868 GB, free: 31.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/9.248, allocations: 2.014 MB / 3.87 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/9.249, allocations: 50.61 kB / 3.87 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/9.249, allocations: 44.25 kB / 3.87 GB, free: 30.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002707/9.249, allocations: 153.1 kB / 3.87 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/9.25, allocations: 207.2 kB / 3.87 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/9.252, allocations: 1.68 MB / 3.872 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/9.252, allocations: 18.72 kB / 3.872 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/9.252, allocations: 0 / 3.872 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/9.252, allocations: 3.375 kB / 3.872 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/9.256, allocations: 2.541 MB / 3.875 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/9.256, allocations: 0 / 3.875 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/9.257, allocations: 167.4 kB / 3.875 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/9.257, allocations: 115.4 kB / 3.875 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/9.257, allocations: 14.17 kB / 3.875 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/9.259, allocations: 2.115 MB / 3.877 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/9.259, allocations: 160 / 3.877 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002511/9.262, allocations: 1.974 MB / 3.879 GB, free: 27.5 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004628/9.266, allocations: 2.91 MB / 3.882 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/9.267, allocations: 214 kB / 3.882 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/9.267, allocations: 5.125 kB / 3.882 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/9.268, allocations: 20.14 kB / 3.882 GB, free: 26.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/9.268, allocations: 28.55 kB / 3.882 GB, free: 26.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/9.268, allocations: 14.75 kB / 3.882 GB, free: 26.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0009532/9.269, allocations: 366 kB / 3.882 GB, free: 26.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009574/9.279, allocations: 1.239 MB / 3.884 GB, free: 26.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01084/9.29, allocations: 1.744 MB / 3.885 GB, free: 26.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003109/9.293, allocations: 1.108 MB / 3.886 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/9.293, allocations: 0 / 3.886 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/9.295, allocations: 0.8618 MB / 3.887 GB, free: 26.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/9.297, allocations: 259.4 kB / 3.887 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/9.3, allocations: 1.54 MB / 3.889 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/9.301, allocations: 1.141 MB / 3.89 GB, free: 25.01 MB / 0.5573 GB Notification: Performance of SimCode: time 2.645e-06/9.301, allocations: 0 / 3.89 GB, free: 25.01 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)