Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8571/0.8571, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 175.2 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 223.2 MB / 447.7 MB, free: 4.707 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 92.27 kB / 0.5187 GB, free: 1.062 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 268.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004457, allocations: 17.75 kB / 0.6929 GB, free: 59.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1889, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.717/4.906, allocations: 1.942 GB / 2.716 GB, free: 34.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/4.906, allocations: 87.95 kB / 2.716 GB, free: 34.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9801/5.887, allocations: 270.4 MB / 2.98 GB, free: 43.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/5.887, allocations: 0 / 2.98 GB, free: 43.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.542e-05/5.887, allocations: 16 kB / 2.98 GB, free: 43.11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002574/5.889, allocations: 0.982 MB / 2.981 GB, free: 42.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/5.889, allocations: 8.562 kB / 2.981 GB, free: 42.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/5.89, allocations: 102.5 kB / 2.981 GB, free: 41.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/5.891, allocations: 159.1 kB / 2.981 GB, free: 41.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/5.892, allocations: 0.5291 MB / 2.982 GB, free: 41.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/5.892, allocations: 41.27 kB / 2.982 GB, free: 41.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/5.892, allocations: 56 kB / 2.982 GB, free: 41.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/5.893, allocations: 0.6463 MB / 2.982 GB, free: 40.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/5.893, allocations: 0 / 2.982 GB, free: 40.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/5.893, allocations: 28 kB / 2.982 GB, free: 40.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/5.893, allocations: 21.31 kB / 2.982 GB, free: 40.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/5.894, allocations: 0.5048 MB / 2.983 GB, free: 39.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/5.897, allocations: 2.243 MB / 2.985 GB, free: 37.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/5.898, allocations: 248.7 kB / 2.985 GB, free: 37.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/5.898, allocations: 8 kB / 2.985 GB, free: 37.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/5.898, allocations: 38.56 kB / 2.985 GB, free: 37.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.475e-06/5.898, allocations: 0 / 2.985 GB, free: 37.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.001527/5.9, allocations: 0.6591 MB / 2.986 GB, free: 36.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/5.9, allocations: 81.11 kB / 2.986 GB, free: 36.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/5.9, allocations: 0.4902 MB / 2.986 GB, free: 35.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/5.9, allocations: 29.7 kB / 2.987 GB, free: 35.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/5.9, allocations: 331.4 kB / 2.987 GB, free: 35.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/5.901, allocations: 78.92 kB / 2.987 GB, free: 35.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/5.901, allocations: 8 kB / 2.987 GB, free: 35.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/5.901, allocations: 362.7 kB / 2.987 GB, free: 35.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/5.901, allocations: 128.6 kB / 2.987 GB, free: 34.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/5.901, allocations: 228.3 kB / 2.988 GB, free: 34.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/5.901, allocations: 168.6 kB / 2.988 GB, free: 34.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/5.901, allocations: 3.938 kB / 2.988 GB, free: 34.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007775/5.902, allocations: 482.5 kB / 2.988 GB, free: 34.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/5.902, allocations: 4 kB / 2.988 GB, free: 34.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/5.902, allocations: 4 kB / 2.988 GB, free: 34.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/5.903, allocations: 89.88 kB / 2.988 GB, free: 33.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/5.903, allocations: 71.86 kB / 2.988 GB, free: 33.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/5.905, allocations: 3.026 MB / 2.991 GB, free: 30.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/5.906, allocations: 67.48 kB / 2.991 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/5.906, allocations: 12 kB / 2.991 GB, free: 30.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003946/5.906, allocations: 217.7 kB / 2.992 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/5.907, allocations: 51.44 kB / 2.992 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/5.907, allocations: 52.47 kB / 2.992 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/5.907, allocations: 4 kB / 2.992 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/5.907, allocations: 7.984 kB / 2.992 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005266/5.907, allocations: 0.5111 MB / 2.992 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/5.909, allocations: 0.9064 MB / 2.993 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.909, allocations: 0 / 2.993 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/5.909, allocations: 39.97 kB / 2.993 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/5.909, allocations: 64.88 kB / 2.993 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/5.909, allocations: 4.375 kB / 2.993 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/5.91, allocations: 1.652 MB / 2.995 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/5.91, allocations: 0 / 2.995 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/5.911, allocations: 450.2 kB / 2.995 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/5.911, allocations: 168.4 kB / 2.995 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/5.911, allocations: 4 kB / 2.995 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/5.912, allocations: 39.91 kB / 2.995 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/5.912, allocations: 19.97 kB / 2.995 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/5.912, allocations: 12 kB / 2.996 GB, free: 26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004705/5.912, allocations: 390.8 kB / 2.996 GB, free: 25.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/5.912, allocations: 4 kB / 2.996 GB, free: 25.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001156/5.914, allocations: 287.7 kB / 2.996 GB, free: 25.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002336/5.916, allocations: 1.973 MB / 2.998 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009465/5.917, allocations: 0.5287 MB / 2.999 GB, free: 22.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/5.917, allocations: 64 / 2.999 GB, free: 22.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/5.917, allocations: 254.5 kB / 2.999 GB, free: 22.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/5.919, allocations: 355.4 kB / 2.999 GB, free: 22.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/5.924, allocations: 4.422 MB / 3.003 GB, free: 17.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/5.925, allocations: 0.9213 MB / 3.004 GB, free: 16.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005827/5.925, allocations: 104.8 kB / 3.004 GB, free: 16.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/5.926, allocations: 187.4 kB / 3.005 GB, free: 16.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/5.926, allocations: 0 / 3.005 GB, free: 16.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4509/6.376, allocations: 31.55 MB / 3.035 GB, free: 168.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/6.377, allocations: 272 kB / 3.036 GB, free: 168.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/9.367, allocations: 2.812 kB / 3.036 GB, free: 168.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)