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 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/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/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) 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: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8491/0.8491, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 171.2 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 89.45 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001708/0.001708, allocations: 270 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005301, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4116, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.964/5.375, allocations: 2.041 GB / 2.781 GB, free: 180.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/5.376, allocations: 87.95 kB / 2.781 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9507/6.326, allocations: 263.1 MB / 3.038 GB, free: 173.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.653e-06/6.326, allocations: 0 / 3.038 GB, free: 173.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.342e-05/6.327, allocations: 19.69 kB / 3.038 GB, free: 173.5 MB / 0.6667 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.002774/6.329, allocations: 0.9759 MB / 3.039 GB, free: 172.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/6.329, allocations: 15.16 kB / 3.039 GB, free: 172.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/6.331, allocations: 159.6 kB / 3.039 GB, free: 172.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/6.332, allocations: 0.5419 MB / 3.039 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/6.332, allocations: 41.69 kB / 3.039 GB, free: 172 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/6.332, allocations: 52.94 kB / 3.039 GB, free: 172 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/6.333, allocations: 0.6448 MB / 3.04 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/6.333, allocations: 3.938 kB / 3.04 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/6.333, allocations: 28 kB / 3.04 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/6.333, allocations: 25.3 kB / 3.04 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009574/6.334, allocations: 0.5087 MB / 3.041 GB, free: 170.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/6.338, allocations: 2.248 MB / 3.043 GB, free: 168.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/6.338, allocations: 249.4 kB / 3.043 GB, free: 168.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/6.339, allocations: 140.7 kB / 3.043 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/6.339, allocations: 7.188 kB / 3.043 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/6.339, allocations: 42.5 kB / 3.043 GB, free: 167.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/6.339, allocations: 0 / 3.043 GB, free: 167.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20): time 0.001527/6.34, allocations: 0.6686 MB / 3.044 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/6.34, allocations: 77.11 kB / 3.044 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/6.341, allocations: 0.5535 MB / 3.044 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/6.341, allocations: 29.7 kB / 3.044 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/6.341, allocations: 339.3 kB / 3.045 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/6.341, allocations: 67.02 kB / 3.045 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/6.341, allocations: 8 kB / 3.045 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001038/6.341, allocations: 358.8 kB / 3.045 GB, free: 165.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/6.342, allocations: 128.6 kB / 3.045 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/6.342, allocations: 224.4 kB / 3.046 GB, free: 165.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/6.342, allocations: 328.3 kB / 3.046 GB, free: 165 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/6.342, allocations: 4 kB / 3.046 GB, free: 165 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007589/6.343, allocations: 494.2 kB / 3.046 GB, free: 164.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/6.343, allocations: 5.562 kB / 3.046 GB, free: 164.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/6.343, allocations: 4.281 kB / 3.046 GB, free: 164.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/6.343, allocations: 89.66 kB / 3.046 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/6.344, allocations: 67.91 kB / 3.046 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/6.346, allocations: 2.983 MB / 3.049 GB, free: 161.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/6.347, allocations: 63.62 kB / 3.049 GB, free: 161 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/6.347, allocations: 15.98 kB / 3.049 GB, free: 161 MB / 0.6667 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.00034/6.347, allocations: 221.6 kB / 3.05 GB, free: 160.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/6.347, allocations: 55.34 kB / 3.05 GB, free: 160.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/6.347, allocations: 56.5 kB / 3.05 GB, free: 160.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/6.347, allocations: 8 kB / 3.05 GB, free: 160.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/6.347, allocations: 7.875 kB / 3.05 GB, free: 160.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005255/6.348, allocations: 0.514 MB / 3.05 GB, free: 160.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/6.349, allocations: 0.8997 MB / 3.051 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/6.349, allocations: 4 kB / 3.051 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/6.349, allocations: 43.91 kB / 3.051 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/6.35, allocations: 64.06 kB / 3.051 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/6.35, allocations: 8 kB / 3.051 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/6.351, allocations: 1.613 MB / 3.053 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/6.351, allocations: 4.031 kB / 3.053 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/6.351, allocations: 433.2 kB / 3.053 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/6.352, allocations: 168.4 kB / 3.053 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/6.352, allocations: 4 kB / 3.053 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/6.352, allocations: 39.88 kB / 3.054 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/6.352, allocations: 23.91 kB / 3.054 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/6.352, allocations: 15.98 kB / 3.054 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004194/6.353, allocations: 386.8 kB / 3.054 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/6.353, allocations: 0 / 3.054 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001055/6.354, allocations: 303.6 kB / 3.054 GB, free: 155.9 MB / 0.6667 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.001534/6.355, allocations: 0.9562 MB / 3.055 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009136/6.356, allocations: 0.5314 MB / 3.056 GB, free: 154.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/6.356, allocations: 0 / 3.056 GB, free: 154.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/6.357, allocations: 251.2 kB / 3.056 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/6.358, allocations: 361.8 kB / 3.056 GB, free: 153.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/6.36, allocations: 1.174 MB / 3.057 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/6.361, allocations: 0.9057 MB / 3.058 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005371/6.361, allocations: 112.8 kB / 3.058 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/6.361, allocations: 43.38 kB / 3.058 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of SimCode: time 4.31e-07/6.361, allocations: 0 / 3.058 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.03295/6.394, allocations: 23.73 MB / 3.082 GB, free: 128 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)