Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",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.001026/0.001026, allocations: 183.9 kB / 8.136 MB, free: 2.219 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.042/1.042, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008296/0.0008296, allocations: 81.52 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3165/0.3165, allocations: 48.75 MB / 358.5 MB, free: 53.15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.113/0.4296, allocations: 66.37 MB / 424.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.5325, allocations: 60.24 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.667/5.2, allocations: 2.993 GB / 3.466 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/5.2, allocations: 83.61 kB / 3.466 GB, free: 73.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 1.062/6.263, allocations: 364 MB / 3.822 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/6.263, allocations: 7.156 kB / 3.822 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/6.263, allocations: 112 kB / 3.822 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/6.264, allocations: 423.4 kB / 3.822 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/6.264, allocations: 11.88 kB / 3.822 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/6.264, allocations: 23.03 kB / 3.822 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000515/6.265, allocations: 290.8 kB / 3.823 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/6.265, allocations: 445.4 kB / 3.823 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/6.265, allocations: 0 / 3.823 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/6.265, allocations: 7.812 kB / 3.823 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/6.265, allocations: 11.5 kB / 3.823 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/6.267, allocations: 2.393 MB / 3.825 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/6.268, allocations: 137.3 kB / 3.826 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/6.268, allocations: 121.8 kB / 3.826 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06353/6.331, allocations: 32.01 MB / 3.857 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/6.332, allocations: 38.28 kB / 3.857 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.206e-06/6.332, allocations: 0 / 3.857 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.004666/6.336, allocations: 1.086 MB / 3.858 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/6.336, allocations: 107.3 kB / 3.858 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/6.337, allocations: 235.8 kB / 3.858 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/6.337, allocations: 29.7 kB / 3.858 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/6.337, allocations: 207.6 kB / 3.859 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/6.337, allocations: 103.2 kB / 3.859 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/6.337, allocations: 0 / 3.859 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001036/6.337, allocations: 348.7 kB / 3.859 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/6.338, allocations: 110.6 kB / 3.859 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/6.338, allocations: 170.6 kB / 3.859 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/6.338, allocations: 138.5 kB / 3.859 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/6.338, allocations: 0 / 3.859 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00213/6.34, allocations: 0.6626 MB / 3.86 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/6.341, allocations: 0.5284 MB / 3.861 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/6.341, allocations: 2.812 kB / 3.861 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/6.342, allocations: 323.5 kB / 3.861 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/6.342, allocations: 38.05 kB / 3.861 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/6.344, allocations: 1.008 MB / 3.862 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/6.344, allocations: 52.72 kB / 3.862 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/6.344, allocations: 14.62 kB / 3.862 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/6.344, allocations: 3.469 kB / 3.862 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/6.346, allocations: 452.4 kB / 3.862 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/6.346, allocations: 4.078 kB / 3.862 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/6.347, allocations: 276.7 kB / 3.863 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/6.347, allocations: 46.19 kB / 3.863 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/6.348, allocations: 0.9303 MB / 3.864 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/6.349, allocations: 51.12 kB / 3.864 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/6.349, allocations: 14.8 kB / 3.864 GB, free: 33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 18} Notification: Performance of prepare postOptimizeDAE: time 0.0001194/6.349, allocations: 116.6 kB / 3.864 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/6.349, allocations: 134.2 kB / 3.864 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/6.351, allocations: 1.069 MB / 3.865 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/6.351, allocations: 7.828 kB / 3.865 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/6.351, allocations: 3.906 kB / 3.865 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/6.351, allocations: 0 / 3.865 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/6.353, allocations: 1.72 MB / 3.867 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/6.353, allocations: 0 / 3.867 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/6.353, allocations: 93.47 kB / 3.867 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005333/6.354, allocations: 128.8 kB / 3.867 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/6.354, allocations: 7.719 kB / 3.867 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/6.355, allocations: 2.57 MB / 3.869 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/6.355, allocations: 3.906 kB / 3.869 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001769/6.357, allocations: 1.247 MB / 3.871 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002308/6.359, allocations: 1.926 MB / 3.873 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/6.36, allocations: 115.5 kB / 3.873 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/6.36, allocations: 5.781 kB / 3.873 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/6.36, allocations: 36.16 kB / 3.873 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/6.36, allocations: 22.23 kB / 3.873 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/6.36, allocations: 15.84 kB / 3.873 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001858/6.36, allocations: 186.9 kB / 3.873 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006758/6.367, allocations: 1.164 MB / 3.874 GB, free: 26.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008245/6.375, allocations: 1.619 MB / 3.876 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00178/6.377, allocations: 0.8114 MB / 3.876 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/6.377, allocations: 0 / 3.876 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/6.378, allocations: 0.6278 MB / 3.877 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/6.38, allocations: 167.2 kB / 3.877 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/6.381, allocations: 1.056 MB / 3.878 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/6.382, allocations: 0.9159 MB / 3.879 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/6.382, allocations: 0 / 3.879 GB, free: 24.14 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1)