Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8654/0.8654, allocations: 143.3 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 181 kB / 191.5 MB, free: 5.762 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.64/1.64, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.001242/0.001242, allocations: 84.39 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00234/0.00234, allocations: 268 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 13.84 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.279, allocations: 371.9 MB / 1.137 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004485/1.28, allocations: 95.95 kB / 1.137 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.081/2.361, allocations: 247.5 MB / 1.379 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.017e-06/2.361, allocations: 0 / 1.379 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001974/2.361, allocations: 39.98 kB / 1.379 GB, free: 72.97 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004527/2.365, allocations: 1.412 MB / 1.38 GB, free: 71.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/2.366, allocations: 8.031 kB / 1.38 GB, free: 71.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004712/2.366, allocations: 130.5 kB / 1.38 GB, free: 71.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009471/2.367, allocations: 138.5 kB / 1.38 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/2.386, allocations: 7.795 MB / 1.388 GB, free: 63.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/2.386, allocations: 58 kB / 1.388 GB, free: 63.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004049/2.386, allocations: 75.98 kB / 1.388 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/2.389, allocations: 0.9746 MB / 1.389 GB, free: 62.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/2.389, allocations: 0 / 1.389 GB, free: 62.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/2.389, allocations: 39.98 kB / 1.389 GB, free: 62.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/2.389, allocations: 23.94 kB / 1.389 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/2.39, allocations: 0.6986 MB / 1.39 GB, free: 61.41 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006325/2.397, allocations: 4.538 MB / 1.394 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/2.397, allocations: 385.6 kB / 1.395 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/2.398, allocations: 437.7 kB / 1.395 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/2.398, allocations: 42.89 kB / 1.395 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.986e-06/2.398, allocations: 4 kB / 1.395 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001876/2.4, allocations: 0.8373 MB / 1.396 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/2.4, allocations: 59.41 kB / 1.396 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/2.401, allocations: 0.8286 MB / 1.397 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.873e-05/2.401, allocations: 37.7 kB / 1.397 GB, free: 53.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/2.402, allocations: 0.4911 MB / 1.397 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/2.402, allocations: 145.9 kB / 1.398 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/2.402, allocations: 12 kB / 1.398 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/2.402, allocations: 333.9 kB / 1.398 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/2.402, allocations: 220.9 kB / 1.398 GB, free: 52.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/2.403, allocations: 440.4 kB / 1.398 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/2.403, allocations: 313.6 kB / 1.399 GB, free: 51.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/2.403, allocations: 4 kB / 1.399 GB, free: 51.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001288/2.404, allocations: 0.7786 MB / 1.4 GB, free: 50.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007029/2.405, allocations: 2.177 MB / 1.402 GB, free: 48.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/2.405, allocations: 12 kB / 1.402 GB, free: 48.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/2.406, allocations: 68.75 kB / 1.402 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/2.406, allocations: 115.8 kB / 1.402 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005056/2.407, allocations: 0.6226 MB / 1.402 GB, free: 47.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/2.408, allocations: 107.3 kB / 1.403 GB, free: 47.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/2.408, allocations: 35.98 kB / 1.403 GB, free: 47.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/2.408, allocations: 4 kB / 1.403 GB, free: 47.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009845/2.409, allocations: 0.6718 MB / 1.403 GB, free: 46.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/2.409, allocations: 8 kB / 1.403 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/2.409, allocations: 64.77 kB / 1.403 GB, free: 46.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/2.409, allocations: 107.8 kB / 1.403 GB, free: 46.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/2.411, allocations: 1.67 MB / 1.405 GB, free: 44.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/2.412, allocations: 99.44 kB / 1.405 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/2.412, allocations: 31.98 kB / 1.405 GB, free: 44.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.000799/2.413, allocations: 488.6 kB / 1.406 GB, free: 44.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/2.413, allocations: 86.97 kB / 1.406 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/2.414, allocations: 0.6431 MB / 1.406 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/2.414, allocations: 11.92 kB / 1.406 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/2.414, allocations: 7.938 kB / 1.406 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007479/2.415, allocations: 0.8089 MB / 1.407 GB, free: 42.66 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/2.418, allocations: 1.672 MB / 1.409 GB, free: 40.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/2.418, allocations: 0 / 1.409 GB, free: 40.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/2.418, allocations: 87.88 kB / 1.409 GB, free: 40.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/2.419, allocations: 40.72 kB / 1.409 GB, free: 40.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/2.419, allocations: 16.12 kB / 1.409 GB, free: 40.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/2.419, allocations: 0.5602 MB / 1.409 GB, free: 40.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/2.419, allocations: 0 / 1.409 GB, free: 40.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/2.42, allocations: 1.002 MB / 1.41 GB, free: 39.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/2.421, allocations: 263.8 kB / 1.411 GB, free: 38.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/2.421, allocations: 12 kB / 1.411 GB, free: 38.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007679/2.422, allocations: 67.83 kB / 1.411 GB, free: 38.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/2.422, allocations: 31.92 kB / 1.411 GB, free: 38.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/2.422, allocations: 19.98 kB / 1.411 GB, free: 38.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008823/2.423, allocations: 0.6512 MB / 1.411 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.62e-07/2.423, allocations: 0 / 1.411 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002518/2.425, allocations: 0.6041 MB / 1.412 GB, free: 37.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002532/2.428, allocations: 2.086 MB / 1.414 GB, free: 35.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001771/2.43, allocations: 0.9891 MB / 1.415 GB, free: 34.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/2.43, allocations: 0 / 1.415 GB, free: 34.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/2.43, allocations: 240.8 kB / 1.415 GB, free: 34.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/2.432, allocations: 0.5571 MB / 1.416 GB, free: 33.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/2.444, allocations: 9.697 MB / 1.425 GB, free: 23.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/2.445, allocations: 1.24 MB / 1.427 GB, free: 22.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001404/2.446, allocations: 433.8 kB / 1.427 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/2.447, allocations: 359.3 kB / 1.427 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/2.447, allocations: 0 / 1.427 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5551/3.002, allocations: 30.25 MB / 1.457 GB, free: 176.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/3.002, allocations: 298.7 kB / 1.457 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/6.313, allocations: 2.781 kB / 1.457 GB, free: 176.6 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)