Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 185.2 kB / 8.131 MB, free: 2.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 95.8 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09279/0.09367, allocations: 55.81 MB / 336.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.2718, allocations: 50.4 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.6432, allocations: 275.6 MB / 0.647 GB, free: 8.605 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.6434, allocations: 78.09 kB / 0.6471 GB, free: 8.57 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 6.027/6.671, allocations: 2.056 GB / 2.703 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/6.671, allocations: 9.281 kB / 2.703 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009131/6.68, allocations: 1.353 MB / 2.705 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/6.695, allocations: 6.491 MB / 2.711 GB, free: 17.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/6.695, allocations: 190.2 kB / 2.711 GB, free: 17.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009255/6.696, allocations: 323.3 kB / 2.712 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01107/6.707, allocations: 7.881 MB / 2.719 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/6.719, allocations: 8.871 MB / 2.728 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/6.719, allocations: 17.44 kB / 2.728 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007154/6.72, allocations: 20.22 kB / 2.728 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004415/6.72, allocations: 0.6318 MB / 2.729 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0439/6.764, allocations: 34.39 MB / 2.762 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/6.771, allocations: 5.682 MB / 2.768 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004122/6.775, allocations: 3.659 MB / 2.771 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006622/6.782, allocations: 6.706 MB / 2.778 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/6.782, allocations: 102 kB / 2.778 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 7.755e-06/6.782, allocations: 3.25 kB / 2.778 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.1585/6.94, allocations: 39.44 MB / 2.817 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/6.941, allocations: 167.8 kB / 2.817 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00693/6.948, allocations: 3.24 MB / 2.82 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001715/6.949, allocations: 33.7 kB / 2.82 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/6.951, allocations: 2.121 MB / 2.822 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003445/6.955, allocations: 2.086 MB / 2.824 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/6.956, allocations: 0 / 2.824 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005198/6.956, allocations: 0.5841 MB / 2.825 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009992/6.966, allocations: 4.235 MB / 2.829 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2392/7.206, allocations: 5.541 MB / 2.834 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03687/7.242, allocations: 8.452 MB / 2.842 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/7.243, allocations: 17.06 kB / 2.842 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.05043/7.293, allocations: 15.87 MB / 2.858 GB, free: 77.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002885/7.296, allocations: 19.6 MB / 2.877 GB, free: 56.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.747e-05/7.296, allocations: 42.91 kB / 2.877 GB, free: 56.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00893/7.305, allocations: 3.474 MB / 2.88 GB, free: 56.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/7.311, allocations: 1.441 MB / 2.882 GB, free: 56.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/7.329, allocations: 18.99 MB / 2.9 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007746/7.337, allocations: 358.7 kB / 2.901 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00239/7.339, allocations: 0.6736 MB / 2.901 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/7.339, allocations: 6.781 kB / 2.901 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04973/7.389, allocations: 14.73 MB / 2.916 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.957e-05/7.389, allocations: 42.53 kB / 2.916 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007924/7.397, allocations: 3.081 MB / 2.919 GB, free: 44.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/7.403, allocations: 1.473 MB / 2.92 GB, free: 44.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/7.425, allocations: 22.03 MB / 2.942 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00728/7.432, allocations: 346.6 kB / 2.942 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/7.434, allocations: 0.6617 MB / 2.943 GB, free: 31.65 MB / 0.5417 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.00295/7.437, allocations: 302 kB / 2.943 GB, free: 31.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/7.439, allocations: 0.59 MB / 2.944 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07048/7.51, allocations: 31.53 MB / 2.974 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-05/7.51, allocations: 72.16 kB / 2.974 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/7.51, allocations: 0 / 2.974 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04188/7.552, allocations: 13.55 MB / 2.988 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06619/7.618, allocations: 28.44 MB / 3.015 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-05/7.618, allocations: 17 kB / 3.015 GB, free: 25.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/7.622, allocations: 0.8445 MB / 3.016 GB, free: 25.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01648/7.638, allocations: 4.335 MB / 3.021 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007953/7.639, allocations: 143.7 kB / 3.021 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/7.655, allocations: 18.94 MB / 3.039 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/7.655, allocations: 27.22 kB / 3.039 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2797/7.935, allocations: 25.13 MB / 3.064 GB, free: 73.49 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05343/7.988, allocations: 30.48 MB / 3.094 GB, free: 69.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004029/7.992, allocations: 1.595 MB / 3.095 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/7.993, allocations: 69.17 kB / 3.095 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/7.998, allocations: 196.9 kB / 3.095 GB, free: 68.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007418/7.998, allocations: 413.8 kB / 3.096 GB, free: 68.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006137/7.999, allocations: 276.6 kB / 3.096 GB, free: 68.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.003077/8.002, allocations: 2.351 MB / 3.098 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01829/8.02, allocations: 5.722 MB / 3.104 GB, free: 68.63 MB / 0.5417 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.008594/8.029, allocations: 3.035 MB / 3.107 GB, free: 68.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02392/8.053, allocations: 16.21 MB / 3.123 GB, free: 68.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/8.053, allocations: 11.12 kB / 3.123 GB, free: 68.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008189/8.061, allocations: 5.292 MB / 3.128 GB, free: 68.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/8.073, allocations: 2.116 MB / 3.13 GB, free: 68.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03018/8.103, allocations: 15.4 MB / 3.145 GB, free: 65.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007298/8.11, allocations: 5.576 MB / 3.15 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/8.11, allocations: 0 / 3.15 GB, free: 64.48 MB / 0.5417 GB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)