Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.002367/0.002367, allocations: 175 kB / 7.45 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.552/1.552, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001854/0.001855, allocations: 111.9 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.045e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 38.77 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7648/0.8684, allocations: 271.2 MB / 0.5583 GB, free: 26.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.8689, allocations: 78.02 kB / 0.5584 GB, free: 26.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.122/8.991, allocations: 1.626 GB / 2.185 GB, free: 23.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001285/8.992, allocations: 194.1 kB / 2.185 GB, free: 23.02 MB / 458.7 MB 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.05444/9.047, allocations: 10.18 MB / 2.195 GB, free: 18.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/9.047, allocations: 8.562 kB / 2.195 GB, free: 18.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/9.063, allocations: 1.262 MB / 2.196 GB, free: 17.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03005/9.093, allocations: 6.377 MB / 2.202 GB, free: 16.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006865/9.094, allocations: 186.1 kB / 2.202 GB, free: 16.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004316/9.098, allocations: 321.6 kB / 2.203 GB, free: 16.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02254/9.121, allocations: 7.749 MB / 2.21 GB, free: 16.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03291/9.154, allocations: 8.648 MB / 2.219 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/9.154, allocations: 24.23 kB / 2.219 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002367/9.156, allocations: 17.5 kB / 2.219 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007979/9.157, allocations: 0.6279 MB / 2.219 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08802/9.245, allocations: 33.77 MB / 2.252 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/9.258, allocations: 5.545 MB / 2.258 GB, free: 8.703 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008152/9.267, allocations: 3.601 MB / 2.261 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4514/9.718, allocations: 5.535 MB / 2.267 GB, free: 54.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/9.718, allocations: 99.39 kB / 2.267 GB, free: 54.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 7.294e-06/9.718, allocations: 0 / 2.267 GB, free: 54.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.1693/9.888, allocations: 36.52 MB / 2.303 GB, free: 52.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/9.888, allocations: 170.7 kB / 2.303 GB, free: 52.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008604/9.896, allocations: 3.239 MB / 2.306 GB, free: 52.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002998/9.899, allocations: 32.02 kB / 2.306 GB, free: 52.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/9.901, allocations: 2.124 MB / 2.308 GB, free: 51.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004564/9.906, allocations: 2.083 MB / 2.31 GB, free: 50.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/9.907, allocations: 0 / 2.31 GB, free: 50.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000511/9.907, allocations: 0.5954 MB / 2.311 GB, free: 50.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006528/9.914, allocations: 3.887 MB / 2.314 GB, free: 50.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008845/9.923, allocations: 5.523 MB / 2.32 GB, free: 48.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04142/9.964, allocations: 8.504 MB / 2.328 GB, free: 48.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/9.964, allocations: 14.84 kB / 2.328 GB, free: 48.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.06896/10.03, allocations: 15.72 MB / 2.343 GB, free: 47.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00549/10.04, allocations: 20.62 MB / 2.364 GB, free: 26.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002639/10.04, allocations: 42.41 kB / 2.364 GB, free: 26.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/10.05, allocations: 3.373 MB / 2.367 GB, free: 25.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008618/10.06, allocations: 1.361 MB / 2.368 GB, free: 25.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/10.09, allocations: 18.76 MB / 2.387 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/10.1, allocations: 362.4 kB / 2.387 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004062/10.1, allocations: 421.4 kB / 2.387 GB, free: 13.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/10.1, allocations: 6.062 kB / 2.387 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07252/10.17, allocations: 14.63 MB / 2.402 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/10.18, allocations: 46.5 kB / 2.402 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009232/10.18, allocations: 3.023 MB / 2.405 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008332/10.19, allocations: 1.385 MB / 2.406 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03213/10.23, allocations: 21.84 MB / 2.427 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/10.24, allocations: 357.3 kB / 2.428 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003982/10.24, allocations: 406.1 kB / 2.428 GB, free: 13.16 MB / 490.7 MB 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.005448/10.25, allocations: 320 kB / 2.428 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003295/10.25, allocations: 0.5908 MB / 2.429 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07026/10.32, allocations: 17.9 MB / 2.446 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-05/10.32, allocations: 66.84 kB / 2.446 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/10.32, allocations: 3.562 kB / 2.446 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4861/10.81, allocations: 12.62 MB / 2.459 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09026/10.9, allocations: 27.28 MB / 2.485 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.843e-05/10.9, allocations: 15.56 kB / 2.485 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005109/10.9, allocations: 0.8609 MB / 2.486 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01808/10.92, allocations: 4.261 MB / 2.49 GB, free: 60.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00274/10.92, allocations: 153.2 kB / 2.491 GB, free: 60.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/10.94, allocations: 18.56 MB / 2.509 GB, free: 48.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-05/10.94, allocations: 25.47 kB / 2.509 GB, free: 48.41 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07901/11.02, allocations: 21.92 MB / 2.53 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009336/11.03, allocations: 1.64 MB / 2.532 GB, free: 44.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00475/11.04, allocations: 63.73 kB / 2.532 GB, free: 44.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009853/11.05, allocations: 204.3 kB / 2.532 GB, free: 44.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003442/11.05, allocations: 426.1 kB / 2.532 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003285/11.05, allocations: 320.1 kB / 2.533 GB, free: 44.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.008716/11.06, allocations: 2.34 MB / 2.535 GB, free: 43.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.04354/11.11, allocations: 5.453 MB / 2.54 GB, free: 43.94 MB / 490.7 MB 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 (500): * Single equations (assignments): 477 * 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,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.02192/11.13, allocations: 3.663 MB / 2.544 GB, free: 43.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04267/11.17, allocations: 15.4 MB / 2.559 GB, free: 43.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-05/11.17, allocations: 7.906 kB / 2.559 GB, free: 43.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0122/11.18, allocations: 4.755 MB / 2.564 GB, free: 43.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01601/11.2, allocations: 2.107 MB / 2.566 GB, free: 43.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04402/11.24, allocations: 14.74 MB / 2.58 GB, free: 40.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01307/11.26, allocations: 5.26 MB / 2.585 GB, free: 39.33 MB / 490.7 MB Notification: Performance of SimCode: time 2.345e-06/11.26, allocations: 0 / 2.585 GB, free: 39.33 MB / 490.7 MB Notification: Performance of Templates: time 1.303/12.56, allocations: 210.5 MB / 2.791 GB, free: 64.16 MB / 490.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)