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.001895/0.001895, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7753/0.7753, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009309, allocations: 83.91 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.393e-05, allocations: 2.938 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.264/6.448, allocations: 1.944 GB / 2.585 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/6.448, allocations: 86.03 kB / 2.585 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.175/7.623, allocations: 270.3 MB / 2.849 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.372e-06/7.623, allocations: 6.094 kB / 2.849 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.75e-05/7.623, allocations: 15.72 kB / 2.849 GB, free: 174.1 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.00339/7.627, allocations: 0.903 MB / 2.85 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/7.627, allocations: 14.34 kB / 2.85 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/7.627, allocations: 101.7 kB / 2.85 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/7.628, allocations: 155 kB / 2.85 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/7.63, allocations: 0.5402 MB / 2.851 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/7.63, allocations: 38.97 kB / 2.851 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/7.63, allocations: 52.47 kB / 2.851 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/7.632, allocations: 0.6192 MB / 2.851 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/7.632, allocations: 0 / 2.851 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/7.632, allocations: 22.66 kB / 2.851 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/7.632, allocations: 22.91 kB / 2.851 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008428/7.633, allocations: 475.1 kB / 2.852 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/7.636, allocations: 2.249 MB / 2.854 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/7.637, allocations: 224.1 kB / 2.854 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/7.637, allocations: 118.1 kB / 2.854 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/7.637, allocations: 7.734 kB / 2.854 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/7.637, allocations: 37.22 kB / 2.854 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/7.637, allocations: 0 / 2.854 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0008426/7.638, allocations: 333.1 kB / 2.855 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/7.638, allocations: 81.62 kB / 2.855 GB, free: 172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/7.638, allocations: 495.4 kB / 2.855 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/7.638, allocations: 33.42 kB / 2.855 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/7.639, allocations: 346.9 kB / 2.856 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/7.639, allocations: 70.89 kB / 2.856 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/7.639, allocations: 4.25 kB / 2.856 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001085/7.639, allocations: 358.7 kB / 2.856 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/7.639, allocations: 107.8 kB / 2.856 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/7.639, allocations: 209.5 kB / 2.856 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/7.639, allocations: 136.1 kB / 2.856 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.639, allocations: 6.5 kB / 2.856 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007822/7.64, allocations: 480.1 kB / 2.857 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/7.64, allocations: 8.75 kB / 2.857 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/7.64, allocations: 3.719 kB / 2.857 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/7.641, allocations: 81.61 kB / 2.857 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/7.641, allocations: 78.02 kB / 2.857 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/7.643, allocations: 2.98 MB / 2.86 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/7.644, allocations: 73.8 kB / 2.86 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/7.644, allocations: 15.28 kB / 2.86 GB, free: 168.7 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.0001142/7.644, allocations: 125.2 kB / 2.86 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/7.644, allocations: 53.31 kB / 2.86 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/7.644, allocations: 57.58 kB / 2.86 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/7.644, allocations: 3.406 kB / 2.86 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/7.644, allocations: 0 / 2.86 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005209/7.645, allocations: 0.4995 MB / 2.861 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/7.646, allocations: 0.8897 MB / 2.862 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/7.646, allocations: 0 / 2.862 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/7.646, allocations: 45.28 kB / 2.862 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/7.646, allocations: 61.7 kB / 2.862 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/7.646, allocations: 3.188 kB / 2.862 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/7.648, allocations: 1.621 MB / 2.863 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/7.648, allocations: 7.016 kB / 2.863 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/7.648, allocations: 442.8 kB / 2.864 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/7.648, allocations: 170.5 kB / 2.864 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/7.648, allocations: 3.688 kB / 2.864 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/7.649, allocations: 40.42 kB / 2.864 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/7.649, allocations: 16.58 kB / 2.864 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/7.649, allocations: 14.72 kB / 2.864 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000395/7.649, allocations: 395.6 kB / 2.864 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/7.649, allocations: 0 / 2.864 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009527/7.65, allocations: 288.5 kB / 2.865 GB, free: 166.1 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.001854/7.652, allocations: 1.96 MB / 2.867 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006817/7.653, allocations: 0.4928 MB / 2.867 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/7.653, allocations: 3.469 kB / 2.867 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/7.653, allocations: 227.6 kB / 2.867 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/7.655, allocations: 348.1 kB / 2.868 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/7.656, allocations: 0.8073 MB / 2.868 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/7.657, allocations: 0.9182 MB / 2.869 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004987/7.657, allocations: 116.6 kB / 2.869 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/7.658, allocations: 186.3 kB / 2.87 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/7.658, allocations: 0 / 2.87 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06694/7.724, allocations: 34.1 MB / 2.903 GB, free: 155 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/7.725, allocations: 229.5 kB / 2.903 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/10.79, allocations: 0 / 2.903 GB, free: 154.7 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)