Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 181.6 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 98.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.00036, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2652, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.086/7.352, allocations: 2.442 GB / 3.342 GB, free: 67.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/7.352, allocations: 97.19 kB / 3.342 GB, free: 67.67 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.059/9.411, allocations: 468.1 MB / 3.799 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/9.411, allocations: 0 / 3.799 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001324/9.411, allocations: 42.16 kB / 3.799 GB, free: 212.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004987/9.416, allocations: 1.764 MB / 3.801 GB, free: 212 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/9.416, allocations: 9.219 kB / 3.801 GB, free: 212 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004853/9.417, allocations: 170.9 kB / 3.801 GB, free: 212 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/9.42, allocations: 488.2 kB / 3.802 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/9.424, allocations: 1.32 MB / 3.803 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/9.424, allocations: 77.3 kB / 3.803 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/9.424, allocations: 105.7 kB / 3.803 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/9.426, allocations: 1.275 MB / 3.804 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/9.427, allocations: 4.938 kB / 3.804 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/9.427, allocations: 43.56 kB / 3.804 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.095e-05/9.427, allocations: 43.39 kB / 3.804 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/9.429, allocations: 1.199 MB / 3.806 GB, free: 211.5 MB / 0.8855 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.006721/9.436, allocations: 4.888 MB / 3.81 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/9.437, allocations: 0.9646 MB / 3.811 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/9.437, allocations: 201.6 kB / 3.812 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/9.437, allocations: 45.06 kB / 3.812 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.016e-06/9.437, allocations: 0 / 3.812 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.005234/9.443, allocations: 2.933 MB / 3.814 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/9.443, allocations: 59.94 kB / 3.815 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/9.444, allocations: 0.8668 MB / 3.815 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.125e-05/9.444, allocations: 44.55 kB / 3.815 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/9.444, allocations: 0.5442 MB / 3.816 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/9.444, allocations: 283.9 kB / 3.816 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/9.445, allocations: 18.7 kB / 3.816 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/9.445, allocations: 344.2 kB / 3.817 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/9.445, allocations: 425.7 kB / 3.817 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/9.446, allocations: 0.6015 MB / 3.818 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/9.446, allocations: 0.5386 MB / 3.818 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/9.446, allocations: 3.812 kB / 3.818 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00155/9.448, allocations: 1.214 MB / 3.819 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002201/9.448, allocations: 1.054 MB / 3.82 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/9.448, allocations: 3.344 kB / 3.82 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/9.448, allocations: 79.34 kB / 3.82 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/9.449, allocations: 187.2 kB / 3.821 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/9.451, allocations: 3.013 MB / 3.823 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/9.453, allocations: 147.9 kB / 3.824 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/9.453, allocations: 26.75 kB / 3.824 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/9.453, allocations: 5.938 kB / 3.824 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/9.455, allocations: 1.101 MB / 3.825 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/9.455, allocations: 5.688 kB / 3.825 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/9.455, allocations: 76.83 kB / 3.825 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/9.455, allocations: 176 kB / 3.825 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/9.457, allocations: 1.839 MB / 3.827 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/9.458, allocations: 137.1 kB / 3.827 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/9.458, allocations: 33.38 kB / 3.827 GB, free: 202.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001122/9.46, allocations: 0.6137 MB / 3.828 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/9.46, allocations: 118.2 kB / 3.828 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/9.462, allocations: 1.165 MB / 3.829 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/9.462, allocations: 15.3 kB / 3.829 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/9.462, allocations: 0 / 3.829 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/9.463, allocations: 1.215 MB / 3.83 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/9.467, allocations: 2.794 MB / 3.833 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/9.467, allocations: 0 / 3.833 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/9.468, allocations: 241.2 kB / 3.833 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/9.468, allocations: 69.53 kB / 3.833 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/9.468, allocations: 27.61 kB / 3.833 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/9.47, allocations: 3.005 MB / 3.836 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/9.47, allocations: 3.844 kB / 3.836 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/9.473, allocations: 2.005 MB / 3.838 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/9.474, allocations: 339 kB / 3.838 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/9.474, allocations: 26.19 kB / 3.838 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/9.475, allocations: 118.2 kB / 3.838 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/9.475, allocations: 55.69 kB / 3.838 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/9.475, allocations: 34.33 kB / 3.838 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009054/9.476, allocations: 0.697 MB / 3.839 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.232e-06/9.476, allocations: 0 / 3.839 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002566/9.479, allocations: 0.7962 MB / 3.84 GB, free: 198.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004357/9.483, allocations: 4.332 MB / 3.844 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002719/9.486, allocations: 1.842 MB / 3.846 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/9.486, allocations: 11.56 kB / 3.846 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009275/9.487, allocations: 0.6592 MB / 3.847 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/9.491, allocations: 0.7815 MB / 3.847 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/9.504, allocations: 10.2 MB / 3.857 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008487/9.505, allocations: 1.459 MB / 3.859 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002003/9.507, allocations: 0.6862 MB / 3.859 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/9.507, allocations: 460 kB / 3.86 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of SimCode: time 8.71e-07/9.507, allocations: 0 / 3.86 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/9.593, allocations: 58.54 MB / 3.917 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/9.593, allocations: 300.7 kB / 3.917 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/13.23, allocations: 0 / 3.917 GB, free: 173.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)