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: 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.7521/0.7521, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 186.6 kB / 187.3 MB, free: 11.88 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.38/1.38, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009012/0.0009015, allocations: 96.25 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 267.1 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.124e-05/5.126e-05, allocations: 8 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5191, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.417/5.936, allocations: 1.942 GB / 2.706 GB, free: 104.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004296/5.937, allocations: 95.83 kB / 2.706 GB, free: 104 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.118/7.055, allocations: 270.1 MB / 2.97 GB, free: 110.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/7.055, allocations: 0 / 2.97 GB, free: 110.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.733e-05/7.055, allocations: 12 kB / 2.97 GB, free: 110.9 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.001706/7.057, allocations: 0.9022 MB / 2.971 GB, free: 110 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/7.057, allocations: 12.02 kB / 2.971 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/7.058, allocations: 163 kB / 2.971 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/7.059, allocations: 0.522 MB / 2.972 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/7.059, allocations: 41.31 kB / 2.972 GB, free: 109.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/7.059, allocations: 55.98 kB / 2.972 GB, free: 109.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/7.06, allocations: 0.6215 MB / 2.972 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/7.06, allocations: 0 / 2.972 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/7.06, allocations: 23.94 kB / 2.972 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/7.06, allocations: 21.31 kB / 2.972 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/7.06, allocations: 477 kB / 2.973 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/7.063, allocations: 2.251 MB / 2.975 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/7.064, allocations: 226.8 kB / 2.975 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/7.064, allocations: 112.8 kB / 2.975 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/7.064, allocations: 11.98 kB / 2.975 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/7.064, allocations: 38.56 kB / 2.975 GB, free: 105.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/7.064, allocations: 0 / 2.975 GB, free: 105.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0007837/7.065, allocations: 326.9 kB / 2.976 GB, free: 104.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/7.065, allocations: 81.11 kB / 2.976 GB, free: 104.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/7.065, allocations: 0.4927 MB / 2.976 GB, free: 104.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/7.065, allocations: 29.7 kB / 2.976 GB, free: 104.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/7.065, allocations: 335.4 kB / 2.977 GB, free: 103.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/7.066, allocations: 70.98 kB / 2.977 GB, free: 103.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/7.066, allocations: 4 kB / 2.977 GB, free: 103.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/7.066, allocations: 362.8 kB / 2.977 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/7.066, allocations: 108.6 kB / 2.977 GB, free: 103.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/7.066, allocations: 208.5 kB / 2.977 GB, free: 103.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/7.066, allocations: 147.8 kB / 2.977 GB, free: 103 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/7.066, allocations: 4 kB / 2.977 GB, free: 103 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006626/7.067, allocations: 466.5 kB / 2.978 GB, free: 102.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/7.067, allocations: 9.094 kB / 2.978 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/7.067, allocations: 0 / 2.978 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/7.067, allocations: 93.84 kB / 2.978 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/7.068, allocations: 67.91 kB / 2.978 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/7.07, allocations: 2.992 MB / 2.981 GB, free: 99.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/7.07, allocations: 67.52 kB / 2.981 GB, free: 99.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/7.07, allocations: 12 kB / 2.981 GB, free: 99 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 () * 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.0001237/7.07, allocations: 132.8 kB / 2.981 GB, free: 98.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/7.071, allocations: 55.34 kB / 2.981 GB, free: 98.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/7.071, allocations: 52.3 kB / 2.981 GB, free: 98.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/7.071, allocations: 0 / 2.981 GB, free: 98.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/7.071, allocations: 11.89 kB / 2.981 GB, free: 98.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004963/7.071, allocations: 0.4955 MB / 2.982 GB, free: 98.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/7.072, allocations: 0.8844 MB / 2.983 GB, free: 97.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/7.072, allocations: 0 / 2.983 GB, free: 97.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/7.073, allocations: 47.97 kB / 2.983 GB, free: 97.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/7.073, allocations: 56.83 kB / 2.983 GB, free: 97.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/7.073, allocations: 15.94 kB / 2.983 GB, free: 97.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/7.074, allocations: 1.609 MB / 2.984 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/7.074, allocations: 32 / 2.984 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/7.074, allocations: 449.9 kB / 2.985 GB, free: 94.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/7.075, allocations: 164.4 kB / 2.985 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/7.075, allocations: 4 kB / 2.985 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/7.075, allocations: 35.97 kB / 2.985 GB, free: 94.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/7.075, allocations: 23.83 kB / 2.985 GB, free: 94.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/7.075, allocations: 15.98 kB / 2.985 GB, free: 94.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003819/7.076, allocations: 389.5 kB / 2.985 GB, free: 94.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/7.076, allocations: 0 / 2.985 GB, free: 94.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001035/7.077, allocations: 295.6 kB / 2.986 GB, free: 93.96 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 () * 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.001319/7.078, allocations: 0.9389 MB / 2.986 GB, free: 93.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007275/7.079, allocations: 0.4947 MB / 2.987 GB, free: 92.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/7.079, allocations: 0 / 2.987 GB, free: 92.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/7.079, allocations: 230.5 kB / 2.987 GB, free: 92.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/7.081, allocations: 352.3 kB / 2.988 GB, free: 91.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/7.082, allocations: 0.6546 MB / 2.988 GB, free: 91.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/7.082, allocations: 0.9137 MB / 2.989 GB, free: 90.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000429/7.082, allocations: 116.8 kB / 2.989 GB, free: 90.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/7.083, allocations: 35.44 kB / 2.989 GB, free: 90.15 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/7.083, allocations: 4 kB / 2.989 GB, free: 90.14 MB / 0.698 GB Notification: Performance of Templates: time 0.03622/7.119, allocations: 25.89 MB / 3.014 GB, free: 64.38 MB / 0.698 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)