Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork") [: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.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 196.1 kB / 8.138 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.264/1.264, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001939/0.001939, allocations: 120.9 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.113e-05/1.115e-05, allocations: 0 / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08522, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5988/0.6841, allocations: 276.5 MB / 0.604 GB, free: 49.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.6844, allocations: 73.03 kB / 0.6041 GB, free: 49.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.587/8.272, allocations: 2.193 GB / 2.797 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001024/8.273, allocations: 192 kB / 2.797 GB, free: 28.86 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: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.04442/8.317, allocations: 10.18 MB / 2.807 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/8.317, allocations: 10.5 kB / 2.807 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/8.331, allocations: 1.315 MB / 2.808 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/8.359, allocations: 6.556 MB / 2.815 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005815/8.36, allocations: 185.9 kB / 2.815 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00358/8.363, allocations: 323.9 kB / 2.815 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02136/8.385, allocations: 7.878 MB / 2.823 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/8.41, allocations: 8.862 MB / 2.831 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/8.411, allocations: 23.06 kB / 2.831 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00291/8.414, allocations: 18.66 kB / 2.832 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000737/8.414, allocations: 0.6335 MB / 2.832 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07128/8.486, allocations: 34.51 MB / 2.866 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/8.497, allocations: 5.684 MB / 2.871 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007605/8.505, allocations: 3.657 MB / 2.875 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008772/8.514, allocations: 5.697 MB / 2.881 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/8.514, allocations: 98.48 kB / 2.881 GB, free: 84 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 1.239e-05/8.514, allocations: 0 / 2.881 GB, free: 84 kB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.4741/8.988, allocations: 40.56 MB / 2.92 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/8.988, allocations: 169.8 kB / 2.92 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006263/8.995, allocations: 3.244 MB / 2.924 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002519/8.997, allocations: 28.05 kB / 2.924 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/8.999, allocations: 2.135 MB / 2.926 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003876/9.003, allocations: 2.08 MB / 2.928 GB, free: 57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/9.004, allocations: 2.469 kB / 2.928 GB, free: 57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004623/9.004, allocations: 0.5933 MB / 2.928 GB, free: 56.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007063/9.011, allocations: 3.956 MB / 2.932 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009401/9.021, allocations: 5.592 MB / 2.938 GB, free: 55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04528/9.066, allocations: 8.773 MB / 2.946 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/9.066, allocations: 15.38 kB / 2.946 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.06524/9.131, allocations: 16.21 MB / 2.962 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.004279/9.136, allocations: 20.61 MB / 2.982 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/9.136, allocations: 44.56 kB / 2.982 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/9.147, allocations: 3.484 MB / 2.986 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007523/9.154, allocations: 1.453 MB / 2.987 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/9.177, allocations: 19 MB / 3.006 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009533/9.186, allocations: 358.1 kB / 3.006 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003017/9.189, allocations: 0.6836 MB / 3.007 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/9.189, allocations: 6.719 kB / 3.007 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06058/9.25, allocations: 15.09 MB / 3.021 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/9.25, allocations: 43.59 kB / 3.021 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009305/9.26, allocations: 3.082 MB / 3.024 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008102/9.268, allocations: 1.497 MB / 3.026 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02714/9.295, allocations: 22.01 MB / 3.047 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009301/9.304, allocations: 352.8 kB / 3.048 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003149/9.307, allocations: 0.6601 MB / 3.048 GB, free: 22.93 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe11.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe10.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe9.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe8.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.0045/9.312, allocations: 317.7 kB / 3.049 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0033/9.315, allocations: 0.5873 MB / 3.049 GB, free: 22.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0838/9.399, allocations: 22.61 MB / 3.071 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003858/9.399, allocations: 129.3 kB / 3.071 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.973e-05/9.4, allocations: 2.625 kB / 3.071 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05331/9.453, allocations: 14.2 MB / 3.085 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3892/9.842, allocations: 29.79 MB / 3.114 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/9.842, allocations: 16.5 kB / 3.114 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004596/9.847, allocations: 0.8469 MB / 3.115 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01813/9.865, allocations: 4.342 MB / 3.119 GB, free: 72.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001393/9.866, allocations: 164.9 kB / 3.12 GB, free: 72.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/9.885, allocations: 18.97 MB / 3.138 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/9.885, allocations: 28.09 kB / 3.138 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06292/9.948, allocations: 24.6 MB / 3.162 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00597/9.954, allocations: 1.747 MB / 3.164 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002699/9.957, allocations: 59.86 kB / 3.164 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006315/9.963, allocations: 207 kB / 3.164 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/9.965, allocations: 458.7 kB / 3.165 GB, free: 56.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001044/9.966, allocations: 386 kB / 3.165 GB, free: 56.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00456/9.97, allocations: 2.351 MB / 3.167 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03121/10, allocations: 5.944 MB / 3.173 GB, free: 55.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 478 * Array equations: 36 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.0178/10.02, allocations: 4.323 MB / 3.177 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03359/10.05, allocations: 16.47 MB / 3.193 GB, free: 55.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/10.05, allocations: 8.438 kB / 3.193 GB, free: 55.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009807/10.06, allocations: 5.571 MB / 3.199 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01308/10.08, allocations: 2.114 MB / 3.201 GB, free: 55.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/10.11, allocations: 16.02 MB / 3.216 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01176/10.12, allocations: 5.714 MB / 3.222 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/10.12, allocations: 0 / 3.222 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.6949/10.81, allocations: 232 MB / 3.449 GB, free: 27.33 MB / 0.5261 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)