Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7673/0.7673, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.000969/0.000969, allocations: 96.05 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.043e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5822/0.5823, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.545, allocations: 1.944 GB / 2.578 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/6.546, allocations: 83.27 kB / 2.578 GB, free: 55.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.046/7.592, allocations: 267.1 MB / 2.839 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.737e-06/7.592, allocations: 0 / 2.839 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.626e-05/7.592, allocations: 24 kB / 2.839 GB, free: 69.62 MB / 0.6823 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.003137/7.595, allocations: 0.8964 MB / 2.84 GB, free: 68.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/7.595, allocations: 12.03 kB / 2.84 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/7.597, allocations: 160.6 kB / 2.84 GB, free: 68.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/7.598, allocations: 0.5393 MB / 2.84 GB, free: 67.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/7.598, allocations: 20 kB / 2.84 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/7.598, allocations: 28 kB / 2.84 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008051/7.599, allocations: 442.5 kB / 2.841 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/7.599, allocations: 0.5369 MB / 2.841 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/7.599, allocations: 0 / 2.841 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/7.6, allocations: 3.938 kB / 2.841 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/7.6, allocations: 33.23 kB / 2.841 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/7.603, allocations: 2.104 MB / 2.843 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/7.603, allocations: 219 kB / 2.843 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/7.603, allocations: 112.2 kB / 2.844 GB, free: 64.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/7.603, allocations: 4 kB / 2.844 GB, free: 64.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/7.603, allocations: 38.56 kB / 2.844 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/7.603, allocations: 0 / 2.844 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0008143/7.604, allocations: 314.9 kB / 2.844 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/7.604, allocations: 81.11 kB / 2.844 GB, free: 63.81 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/7.605, allocations: 365.2 kB / 2.844 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/7.605, allocations: 29.7 kB / 2.844 GB, free: 63.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/7.605, allocations: 338.8 kB / 2.845 GB, free: 63.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/7.605, allocations: 71.03 kB / 2.845 GB, free: 63.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/7.605, allocations: 4 kB / 2.845 GB, free: 63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001721/7.605, allocations: 350.8 kB / 2.845 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/7.605, allocations: 100.6 kB / 2.845 GB, free: 62.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/7.606, allocations: 208 kB / 2.845 GB, free: 62.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/7.606, allocations: 131.9 kB / 2.846 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/7.606, allocations: 0 / 2.846 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006808/7.606, allocations: 430.4 kB / 2.846 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/7.607, allocations: 8 kB / 2.846 GB, free: 61.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/7.607, allocations: 3.984 kB / 2.846 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/7.607, allocations: 89.91 kB / 2.846 GB, free: 61.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/7.607, allocations: 71.91 kB / 2.846 GB, free: 61.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/7.609, allocations: 2.856 MB / 2.849 GB, free: 58.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/7.61, allocations: 47.73 kB / 2.849 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/7.61, allocations: 12 kB / 2.849 GB, free: 58.42 MB / 0.6823 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 () * 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.0001249/7.61, allocations: 104.9 kB / 2.849 GB, free: 58.31 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005386/7.611, allocations: 308.5 kB / 2.849 GB, free: 58 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/7.611, allocations: 47.44 kB / 2.849 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/7.611, allocations: 47.52 kB / 2.849 GB, free: 57.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/7.611, allocations: 0 / 2.849 GB, free: 57.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/7.611, allocations: 0 / 2.849 GB, free: 57.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000488/7.611, allocations: 495.3 kB / 2.85 GB, free: 57.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/7.612, allocations: 0.7948 MB / 2.851 GB, free: 56.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/7.612, allocations: 4 kB / 2.851 GB, free: 56.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/7.613, allocations: 43.91 kB / 2.851 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/7.613, allocations: 56.81 kB / 2.851 GB, free: 56.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/7.613, allocations: 8 kB / 2.851 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/7.614, allocations: 1.553 MB / 2.852 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/7.614, allocations: 8.094 kB / 2.852 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/7.615, allocations: 418.7 kB / 2.853 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/7.615, allocations: 160.5 kB / 2.853 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/7.615, allocations: 0 / 2.853 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/7.615, allocations: 27.88 kB / 2.853 GB, free: 54.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/7.615, allocations: 23.97 kB / 2.853 GB, free: 54.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/7.615, allocations: 19.98 kB / 2.853 GB, free: 54.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002836/7.616, allocations: 275 kB / 2.853 GB, free: 53.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/7.616, allocations: 0 / 2.853 GB, free: 53.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001166/7.617, allocations: 275.5 kB / 2.853 GB, free: 53.48 MB / 0.6823 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 () * 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.002692/7.62, allocations: 2.053 MB / 2.855 GB, free: 51.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007759/7.62, allocations: 473.3 kB / 2.856 GB, free: 50.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/7.62, allocations: 4.562 kB / 2.856 GB, free: 50.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/7.621, allocations: 221.6 kB / 2.856 GB, free: 50.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/7.622, allocations: 242.2 kB / 2.856 GB, free: 50.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/7.623, allocations: 0.7696 MB / 2.857 GB, free: 49.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/7.624, allocations: 0.9203 MB / 2.858 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004099/7.624, allocations: 92.09 kB / 2.858 GB, free: 48.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/7.625, allocations: 183.4 kB / 2.858 GB, free: 48.42 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/7.625, allocations: 4 kB / 2.858 GB, free: 48.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05127/7.676, allocations: 20.2 MB / 2.878 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/7.676, allocations: 175.2 kB / 2.878 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/10.41, allocations: 0 / 2.878 GB, free: 28.14 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)