Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3305/0.3305, allocations: 55.01 MB / 69.96 MB, free: 8.684 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001153/0.001153, allocations: 187.5 kB / 83.98 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.713/1.713, allocations: 194.4 MB / 292.3 MB, free: 3.523 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001761/0.001761, allocations: 106.8 kB / 350.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 57.65 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.983/6.124, allocations: 2.133 GB / 2.599 GB, free: 436 kB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/6.124, allocations: 88.08 kB / 2.599 GB, free: 388 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.269/7.393, allocations: 211.4 MB / 2.805 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/7.393, allocations: 0 / 2.805 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001296/7.394, allocations: 19.61 kB / 2.805 GB, free: 119.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004494/7.398, allocations: 0.9863 MB / 2.806 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.042e-05/7.398, allocations: 9.125 kB / 2.806 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/7.4, allocations: 158.7 kB / 2.806 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/7.403, allocations: 0.5578 MB / 2.807 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/7.403, allocations: 39.91 kB / 2.807 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/7.403, allocations: 56.81 kB / 2.807 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/7.406, allocations: 0.6398 MB / 2.807 GB, free: 119 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/7.406, allocations: 3.812 kB / 2.808 GB, free: 119 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/7.406, allocations: 23.38 kB / 2.808 GB, free: 119 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/7.406, allocations: 26.66 kB / 2.808 GB, free: 119 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/7.408, allocations: 0.4954 MB / 2.808 GB, free: 119 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/7.413, allocations: 2.302 MB / 2.81 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/7.413, allocations: 231.4 kB / 2.811 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/7.413, allocations: 9.5 kB / 2.811 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/7.414, allocations: 42.72 kB / 2.811 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 4.338e-06/7.414, allocations: 1.156 kB / 2.811 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.002078/7.416, allocations: 0.6357 MB / 2.811 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/7.416, allocations: 87.98 kB / 2.811 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/7.417, allocations: 479 kB / 2.812 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/7.417, allocations: 27.89 kB / 2.812 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/7.417, allocations: 336.5 kB / 2.812 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/7.417, allocations: 73.92 kB / 2.812 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/7.417, allocations: 5 kB / 2.812 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001756/7.417, allocations: 361.6 kB / 2.812 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/7.418, allocations: 113.4 kB / 2.813 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/7.418, allocations: 265.3 kB / 2.813 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/7.418, allocations: 156.1 kB / 2.813 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/7.418, allocations: 0 / 2.813 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001121/7.42, allocations: 480.4 kB / 2.813 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/7.42, allocations: 6.406 kB / 2.813 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/7.42, allocations: 4.625 kB / 2.813 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/7.42, allocations: 91.03 kB / 2.814 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/7.42, allocations: 75.48 kB / 2.814 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/7.424, allocations: 3.001 MB / 2.817 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/7.424, allocations: 75.33 kB / 2.817 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/7.424, allocations: 16.94 kB / 2.817 GB, free: 114.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (36): * Single equations (assignments): 34 * 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.0005301/7.425, allocations: 229.8 kB / 2.817 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/7.425, allocations: 52.12 kB / 2.817 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/7.425, allocations: 55.98 kB / 2.817 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/7.425, allocations: 6.016 kB / 2.817 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/7.425, allocations: 0.5 kB / 2.817 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007327/7.426, allocations: 0.5003 MB / 2.817 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/7.428, allocations: 0.91 MB / 2.818 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/7.428, allocations: 0.7812 kB / 2.818 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/7.429, allocations: 54.86 kB / 2.818 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/7.429, allocations: 58.95 kB / 2.818 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/7.429, allocations: 3.812 kB / 2.818 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/7.431, allocations: 1.628 MB / 2.82 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/7.431, allocations: 1.406 kB / 2.82 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/7.432, allocations: 443.9 kB / 2.82 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/7.432, allocations: 178.4 kB / 2.821 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/7.432, allocations: 3.438 kB / 2.821 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/7.433, allocations: 30.53 kB / 2.821 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/7.433, allocations: 20.67 kB / 2.821 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/7.433, allocations: 15.72 kB / 2.821 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006636/7.434, allocations: 372 kB / 2.821 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/7.434, allocations: 0 / 2.821 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001686/7.435, allocations: 283.4 kB / 2.821 GB, free: 111.5 MB / 0.4948 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.002431/7.438, allocations: 0.9412 MB / 2.822 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001277/7.439, allocations: 0.5262 MB / 2.823 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/7.439, allocations: 2 kB / 2.823 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/7.44, allocations: 240.3 kB / 2.823 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/7.442, allocations: 335.8 kB / 2.823 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/7.444, allocations: 1.215 MB / 2.825 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/7.445, allocations: 0.9262 MB / 2.825 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006414/7.445, allocations: 110.1 kB / 2.826 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/7.445, allocations: 38.78 kB / 2.826 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/7.445, allocations: 0 / 2.826 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.04221/7.488, allocations: 22.79 MB / 2.848 GB, free: 109 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)