Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork",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 trunk/package.mo): time 0.001036/0.001036, allocations: 202.7 kB / 8.54 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.139/1.139, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000857/0.000857, allocations: 90.86 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09751/0.0984, allocations: 56.88 MB / 343.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.1846, allocations: 51.48 MB / 394.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6804, allocations: 276.4 MB / 0.6553 GB, free: 97.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.6806, allocations: 71.97 kB / 0.6554 GB, free: 97 MB / 442.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 5.668/6.348, allocations: 2.048 GB / 2.703 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/6.348, allocations: 8.969 kB / 2.703 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/6.36, allocations: 1.35 MB / 2.705 GB, free: 30.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/6.379, allocations: 6.498 MB / 2.711 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/6.38, allocations: 187.5 kB / 2.711 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/6.382, allocations: 323 kB / 2.711 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01373/6.396, allocations: 7.883 MB / 2.719 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/6.409, allocations: 8.875 MB / 2.728 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/6.409, allocations: 21 kB / 2.728 GB, free: 27.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008837/6.41, allocations: 22.47 kB / 2.728 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004603/6.411, allocations: 0.6317 MB / 2.728 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0468/6.457, allocations: 34.47 MB / 2.762 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008306/6.466, allocations: 5.685 MB / 2.768 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/6.471, allocations: 3.662 MB / 2.771 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2121/6.683, allocations: 6.7 MB / 2.778 GB, free: 70.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.464e-05/6.683, allocations: 106.1 kB / 2.778 GB, free: 70.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 6.292e-06/6.683, allocations: 0 / 2.778 GB, free: 70.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1547/6.838, allocations: 39.59 MB / 2.816 GB, free: 67.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/6.838, allocations: 169.5 kB / 2.817 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/6.842, allocations: 3.243 MB / 2.82 GB, free: 66.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001424/6.844, allocations: 31.77 kB / 2.82 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/6.845, allocations: 2.109 MB / 2.822 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/6.847, allocations: 2.08 MB / 2.824 GB, free: 64.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/6.848, allocations: 4.609 kB / 2.824 GB, free: 64.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003082/6.848, allocations: 0.594 MB / 2.824 GB, free: 64.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005258/6.854, allocations: 3.948 MB / 2.828 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006037/6.86, allocations: 5.537 MB / 2.834 GB, free: 62.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03963/6.899, allocations: 8.597 MB / 2.842 GB, free: 62.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-05/6.899, allocations: 10.94 kB / 2.842 GB, free: 62.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.0538/6.953, allocations: 16.02 MB / 2.858 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002543/6.956, allocations: 19.6 MB / 2.877 GB, free: 41.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/6.956, allocations: 43.22 kB / 2.877 GB, free: 41.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008813/6.965, allocations: 3.473 MB / 2.88 GB, free: 41.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005858/6.97, allocations: 1.44 MB / 2.882 GB, free: 41.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/6.989, allocations: 19 MB / 2.9 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/6.996, allocations: 366 kB / 2.901 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/6.997, allocations: 0.6819 MB / 2.901 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/6.997, allocations: 4.406 kB / 2.901 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04898/7.046, allocations: 14.87 MB / 2.916 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.337e-05/7.046, allocations: 47.31 kB / 2.916 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007742/7.054, allocations: 3.079 MB / 2.919 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/7.06, allocations: 1.474 MB / 2.92 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/7.082, allocations: 22.03 MB / 2.942 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00737/7.089, allocations: 350.8 kB / 2.942 GB, free: 31.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/7.09, allocations: 0.6478 MB / 2.943 GB, free: 31.72 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe11.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.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.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.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.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.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.pipe10.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.pipe9.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.pipe8.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[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.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.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.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.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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * 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.002065/7.093, allocations: 314.6 kB / 2.943 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/7.094, allocations: 0.5875 MB / 2.944 GB, free: 31.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07135/7.165, allocations: 31.69 MB / 2.975 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.848e-05/7.165, allocations: 72.53 kB / 2.975 GB, free: 27.51 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/7.165, allocations: 0 / 2.975 GB, free: 27.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04323/7.209, allocations: 13.69 MB / 2.988 GB, free: 18.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2889/7.498, allocations: 29.6 MB / 3.017 GB, free: 78.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/7.498, allocations: 17 kB / 3.017 GB, free: 78.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004138/7.502, allocations: 0.8446 MB / 3.018 GB, free: 78.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01653/7.518, allocations: 4.334 MB / 3.022 GB, free: 78.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/7.52, allocations: 140 kB / 3.022 GB, free: 78.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/7.536, allocations: 18.96 MB / 3.041 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/7.536, allocations: 23.5 kB / 3.041 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05121/7.587, allocations: 23.47 MB / 3.064 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0572/7.644, allocations: 30.62 MB / 3.094 GB, free: 58.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004065/7.649, allocations: 1.6 MB / 3.095 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/7.65, allocations: 59.03 kB / 3.095 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004083/7.654, allocations: 205.3 kB / 3.095 GB, free: 57.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/7.655, allocations: 412.9 kB / 3.096 GB, free: 57.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006513/7.655, allocations: 281 kB / 3.096 GB, free: 57.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00315/7.658, allocations: 2.352 MB / 3.098 GB, free: 57.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01779/7.676, allocations: 5.749 MB / 3.104 GB, free: 57.45 MB / 0.5573 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 (503): * Single equations (assignments): 478 * Array equations: 2 * 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.008018/7.684, allocations: 3.036 MB / 3.107 GB, free: 57.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02388/7.708, allocations: 16.21 MB / 3.123 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/7.708, allocations: 5.594 kB / 3.123 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00749/7.716, allocations: 5.298 MB / 3.128 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/7.727, allocations: 2.129 MB / 3.13 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/7.752, allocations: 15.39 MB / 3.145 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006851/7.759, allocations: 5.571 MB / 3.15 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/7.759, allocations: 3.609 kB / 3.15 GB, free: 53.15 MB / 0.5573 GB (rm -f Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)