Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",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.0009376/0.0009376, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.032/1.032, allocations: 205.2 MB / 213.7 MB, free: 13.89 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.0008271/0.000827, allocations: 92.58 kB / 261.8 MB, free: 13.51 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2936/0.2936, allocations: 48.76 MB / 358.5 MB, free: 53.2 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 0.09964/0.3933, allocations: 66.37 MB / 424.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.4962, allocations: 60.24 MB / 485.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.754/5.251, allocations: 2.993 GB / 3.466 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.251, allocations: 79.95 kB / 3.466 GB, free: 58.16 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.052/6.303, allocations: 363.9 MB / 3.822 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/6.303, allocations: 10.28 kB / 3.822 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/6.304, allocations: 111.1 kB / 3.822 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/6.305, allocations: 420.8 kB / 3.822 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/6.305, allocations: 18 kB / 3.822 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/6.305, allocations: 26.03 kB / 3.822 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005727/6.305, allocations: 290.5 kB / 3.823 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/6.306, allocations: 449.9 kB / 3.823 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/6.306, allocations: 3.938 kB / 3.823 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/6.306, allocations: 3.906 kB / 3.823 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/6.306, allocations: 7.719 kB / 3.823 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/6.308, allocations: 2.529 MB / 3.826 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/6.309, allocations: 136.4 kB / 3.826 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/6.309, allocations: 118.8 kB / 3.826 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06394/6.373, allocations: 32.01 MB / 3.857 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/6.373, allocations: 34.94 kB / 3.857 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/6.373, allocations: 0 / 3.857 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.003768/6.377, allocations: 1.084 MB / 3.858 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/6.377, allocations: 109.9 kB / 3.858 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/6.377, allocations: 240.3 kB / 3.858 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/6.377, allocations: 25.7 kB / 3.858 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/6.377, allocations: 202.4 kB / 3.859 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/6.377, allocations: 108.5 kB / 3.859 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/6.377, allocations: 0 / 3.859 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/6.377, allocations: 344.4 kB / 3.859 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/6.377, allocations: 110 kB / 3.859 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/6.378, allocations: 172.2 kB / 3.859 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/6.378, allocations: 131.7 kB / 3.859 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/6.378, allocations: 224 / 3.859 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001918/6.38, allocations: 0.6658 MB / 3.86 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/6.38, allocations: 0.5384 MB / 3.861 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/6.38, allocations: 0 / 3.861 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/6.382, allocations: 323.3 kB / 3.861 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/6.382, allocations: 41.59 kB / 3.861 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/6.383, allocations: 1.006 MB / 3.862 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/6.384, allocations: 50.91 kB / 3.862 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/6.384, allocations: 11.59 kB / 3.862 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/6.384, allocations: 3.188 kB / 3.862 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001398/6.385, allocations: 456.1 kB / 3.863 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/6.385, allocations: 4.031 kB / 3.863 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/6.386, allocations: 276.9 kB / 3.863 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/6.386, allocations: 49.72 kB / 3.863 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/6.388, allocations: 0.9229 MB / 3.864 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/6.388, allocations: 48.23 kB / 3.864 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/6.388, allocations: 19.06 kB / 3.864 GB, free: 26.45 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.0001383/6.388, allocations: 115.9 kB / 3.864 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/6.389, allocations: 124.8 kB / 3.864 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/6.39, allocations: 1.083 MB / 3.865 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/6.39, allocations: 9.594 kB / 3.865 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/6.39, allocations: 0 / 3.865 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/6.39, allocations: 0 / 3.865 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/6.392, allocations: 1.713 MB / 3.867 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/6.393, allocations: 0 / 3.867 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/6.393, allocations: 90.53 kB / 3.867 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005279/6.394, allocations: 125.4 kB / 3.867 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/6.394, allocations: 11.12 kB / 3.867 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/6.395, allocations: 2.578 MB / 3.869 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/6.395, allocations: 3.906 kB / 3.869 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/6.397, allocations: 1.246 MB / 3.871 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002029/6.399, allocations: 1.935 MB / 3.873 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/6.399, allocations: 118.8 kB / 3.873 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/6.399, allocations: 2.844 kB / 3.873 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/6.399, allocations: 35.12 kB / 3.873 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/6.399, allocations: 26.95 kB / 3.873 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/6.399, allocations: 10.55 kB / 3.873 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001477/6.4, allocations: 183.2 kB / 3.873 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006037/6.406, allocations: 1.176 MB / 3.874 GB, free: 19.91 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.00801/6.414, allocations: 1.601 MB / 3.876 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001484/6.415, allocations: 0.8118 MB / 3.876 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/6.415, allocations: 8.125 kB / 3.876 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/6.416, allocations: 0.6185 MB / 3.877 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/6.417, allocations: 171.3 kB / 3.877 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/6.419, allocations: 1.055 MB / 3.878 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/6.42, allocations: 0.9148 MB / 3.879 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/6.42, allocations: 0 / 3.879 GB, free: 17.56 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)