Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) 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(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 176.1 kB / 8.477 MB, free: 1.879 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.106/1.106, allocations: 205.2 MB / 214.1 MB, free: 5.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.0008596, allocations: 86.77 kB / 262.1 MB, free: 5.52 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.173/0.1739, allocations: 52.96 MB / 315.1 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.2504, allocations: 47.58 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5194/0.7699, allocations: 279.8 MB / 0.6274 GB, free: 110.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.7701, allocations: 76.06 kB / 0.6274 GB, free: 110.7 MB / 426.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 6.928/7.698, allocations: 2.237 GB / 2.865 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/7.698, allocations: 11.94 kB / 2.865 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/7.71, allocations: 1.356 MB / 2.866 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/7.73, allocations: 6.558 MB / 2.872 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/7.73, allocations: 187.9 kB / 2.873 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002971/7.733, allocations: 321.6 kB / 2.873 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01723/7.751, allocations: 7.881 MB / 2.881 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/7.769, allocations: 8.87 MB / 2.889 GB, free: 372 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/7.769, allocations: 23.8 kB / 2.889 GB, free: 348 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008966/7.77, allocations: 24 kB / 2.889 GB, free: 324 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3039/8.074, allocations: 0.6198 MB / 2.89 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06588/8.14, allocations: 34.47 MB / 2.924 GB, free: 36.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009612/8.149, allocations: 5.684 MB / 2.929 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005644/8.155, allocations: 3.661 MB / 2.933 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006402/8.162, allocations: 5.701 MB / 2.938 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/8.162, allocations: 98.42 kB / 2.938 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 7.344e-06/8.162, allocations: 4.984 kB / 2.938 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.1725/8.334, allocations: 39.8 MB / 2.977 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/8.334, allocations: 166.1 kB / 2.977 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006207/8.341, allocations: 3.243 MB / 2.98 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002906/8.344, allocations: 29.42 kB / 2.981 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/8.345, allocations: 2.125 MB / 2.983 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003378/8.349, allocations: 2.078 MB / 2.985 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009191/8.35, allocations: 3 kB / 2.985 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003723/8.35, allocations: 0.584 MB / 2.985 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006309/8.356, allocations: 3.96 MB / 2.989 GB, free: 23.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0079/8.364, allocations: 5.543 MB / 2.994 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04224/8.407, allocations: 8.783 MB / 3.003 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.175e-05/8.407, allocations: 14.53 kB / 3.003 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.06101/8.468, allocations: 16.21 MB / 3.019 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.006522/8.474, allocations: 19.6 MB / 3.038 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/8.474, allocations: 45.81 kB / 3.038 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/8.485, allocations: 3.474 MB / 3.041 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007261/8.492, allocations: 1.445 MB / 3.043 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/8.516, allocations: 19.01 MB / 3.061 GB, free: 20 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/8.527, allocations: 364.7 kB / 3.062 GB, free: 19.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003456/8.531, allocations: 0.6789 MB / 3.062 GB, free: 19.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/8.531, allocations: 6.016 kB / 3.062 GB, free: 19.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05718/8.588, allocations: 15.06 MB / 3.077 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/8.588, allocations: 44.66 kB / 3.077 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008512/8.597, allocations: 3.078 MB / 3.08 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007608/8.604, allocations: 1.483 MB / 3.082 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3225/8.927, allocations: 22.03 MB / 3.103 GB, free: 72.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008613/8.935, allocations: 354.5 kB / 3.104 GB, free: 72.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/8.938, allocations: 0.6517 MB / 3.104 GB, free: 72.79 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.002836/8.941, allocations: 314.8 kB / 3.104 GB, free: 72.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/8.943, allocations: 0.592 MB / 3.105 GB, free: 72.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.071/9.014, allocations: 22.61 MB / 3.127 GB, free: 71.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002063/9.014, allocations: 121 kB / 3.127 GB, free: 71.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/9.014, allocations: 0 / 3.127 GB, free: 71.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04708/9.061, allocations: 14.22 MB / 3.141 GB, free: 71.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0795/9.141, allocations: 29.62 MB / 3.17 GB, free: 68.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/9.141, allocations: 14.72 kB / 3.17 GB, free: 68.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004393/9.145, allocations: 0.8468 MB / 3.171 GB, free: 68.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01798/9.163, allocations: 4.338 MB / 3.175 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001777/9.165, allocations: 173.8 kB / 3.175 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/9.183, allocations: 18.99 MB / 3.194 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/9.183, allocations: 23.22 kB / 3.194 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06395/9.247, allocations: 24.62 MB / 3.218 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07249/9.32, allocations: 32.37 MB / 3.25 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005828/9.326, allocations: 1.753 MB / 3.251 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002583/9.328, allocations: 61.33 kB / 3.251 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006061/9.334, allocations: 206.1 kB / 3.251 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/9.336, allocations: 449.7 kB / 3.252 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009701/9.336, allocations: 396.5 kB / 3.252 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003835/9.34, allocations: 2.348 MB / 3.255 GB, free: 43.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0315/9.372, allocations: 7.274 MB / 3.262 GB, free: 41.91 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 (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.0174/9.389, allocations: 4.438 MB / 3.266 GB, free: 41.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3106/9.7, allocations: 17.6 MB / 3.283 GB, free: 78.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/9.7, allocations: 7.719 kB / 3.283 GB, free: 78.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009425/9.709, allocations: 5.581 MB / 3.289 GB, free: 78.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/9.721, allocations: 2.123 MB / 3.291 GB, free: 78.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/9.751, allocations: 16 MB / 3.306 GB, free: 76.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009804/9.76, allocations: 5.914 MB / 3.312 GB, free: 75.16 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/9.76, allocations: 1.062 kB / 3.312 GB, free: 75.16 MB / 0.5573 GB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)