Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 289.9 MB / 297.4 MB, free: 6.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 184.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008427, allocations: 85.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.109e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.735, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.46/6.195, allocations: 2.071 GB / 3.045 GB, free: 11.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/6.196, allocations: 81.55 kB / 3.045 GB, free: 11.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.1/7.296, allocations: 260.2 MB / 3.299 GB, free: 139.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.993e-06/7.296, allocations: 0 / 3.299 GB, free: 139.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.034e-05/7.296, allocations: 12 kB / 3.299 GB, free: 139.9 MB / 0.948 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.001787/7.298, allocations: 0.9041 MB / 3.3 GB, free: 139 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/7.298, allocations: 12.03 kB / 3.3 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/7.299, allocations: 155.1 kB / 3.3 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/7.3, allocations: 0.5199 MB / 3.301 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/7.3, allocations: 19.95 kB / 3.301 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/7.3, allocations: 32 kB / 3.301 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007103/7.301, allocations: 450.4 kB / 3.301 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/7.301, allocations: 0.5253 MB / 3.302 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/7.301, allocations: 11.94 kB / 3.302 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/7.301, allocations: 3.938 kB / 3.302 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/7.301, allocations: 21.31 kB / 3.302 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/7.304, allocations: 2.108 MB / 3.304 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/7.304, allocations: 214.8 kB / 3.304 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/7.305, allocations: 108.8 kB / 3.304 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/7.305, allocations: 0 / 3.304 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/7.305, allocations: 42.55 kB / 3.304 GB, free: 134.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/7.305, allocations: 4 kB / 3.304 GB, free: 134.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0007372/7.305, allocations: 305.1 kB / 3.304 GB, free: 134.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/7.305, allocations: 81.11 kB / 3.304 GB, free: 134.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/7.306, allocations: 361.1 kB / 3.305 GB, free: 133.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/7.306, allocations: 29.7 kB / 3.305 GB, free: 133.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/7.306, allocations: 346.8 kB / 3.305 GB, free: 133.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/7.306, allocations: 67.02 kB / 3.305 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/7.306, allocations: 0 / 3.305 GB, free: 133.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/7.306, allocations: 346.8 kB / 3.305 GB, free: 133 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/7.306, allocations: 112.5 kB / 3.306 GB, free: 132.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/7.306, allocations: 192.1 kB / 3.306 GB, free: 132.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/7.307, allocations: 139.9 kB / 3.306 GB, free: 132.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/7.307, allocations: 0 / 3.306 GB, free: 132.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006028/7.307, allocations: 427.3 kB / 3.306 GB, free: 132.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/7.307, allocations: 12 kB / 3.306 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/7.307, allocations: 3.984 kB / 3.306 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/7.308, allocations: 85.66 kB / 3.306 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/7.308, allocations: 67.91 kB / 3.306 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/7.31, allocations: 2.864 MB / 3.309 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/7.31, allocations: 51.62 kB / 3.309 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/7.31, allocations: 16 kB / 3.309 GB, free: 128.7 MB / 0.948 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.0001188/7.31, allocations: 112.9 kB / 3.309 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004719/7.311, allocations: 298.7 kB / 3.31 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/7.311, allocations: 39.53 kB / 3.31 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/7.311, allocations: 47.53 kB / 3.31 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/7.311, allocations: 0 / 3.31 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/7.311, allocations: 0 / 3.31 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004607/7.312, allocations: 0.4899 MB / 3.31 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/7.313, allocations: 0.8026 MB / 3.311 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/7.313, allocations: 3.984 kB / 3.311 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/7.313, allocations: 39.98 kB / 3.311 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/7.313, allocations: 60.88 kB / 3.311 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/7.313, allocations: 4.188 kB / 3.311 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/7.314, allocations: 1.549 MB / 3.313 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.314, allocations: 3.938 kB / 3.313 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/7.315, allocations: 420.9 kB / 3.313 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/7.315, allocations: 156.4 kB / 3.313 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/7.315, allocations: 7.984 kB / 3.313 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/7.315, allocations: 23.98 kB / 3.313 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/7.315, allocations: 15.97 kB / 3.313 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/7.315, allocations: 15.98 kB / 3.313 GB, free: 124.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000255/7.316, allocations: 275 kB / 3.314 GB, free: 124.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.316, allocations: 4 kB / 3.314 GB, free: 124.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001073/7.317, allocations: 275.3 kB / 3.314 GB, free: 123.8 MB / 0.948 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.002036/7.319, allocations: 2.058 MB / 3.316 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006638/7.319, allocations: 477.9 kB / 3.316 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/7.319, allocations: 0 / 3.316 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/7.32, allocations: 217.6 kB / 3.316 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/7.321, allocations: 252.6 kB / 3.317 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/7.322, allocations: 0.7563 MB / 3.317 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/7.323, allocations: 0.9206 MB / 3.318 GB, free: 119 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004088/7.323, allocations: 88.12 kB / 3.318 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/7.323, allocations: 179.4 kB / 3.319 GB, free: 118.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/7.323, allocations: 0 / 3.319 GB, free: 118.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/7.366, allocations: 20.14 MB / 3.338 GB, free: 98.72 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/7.367, allocations: 189.2 kB / 3.338 GB, free: 98.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/10.44, allocations: 0 / 3.338 GB, free: 98.52 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)