Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.581/2.581, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001519/0.001518, allocations: 184.8 kB / 360.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.00102/0.00102, allocations: 93.28 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.274e-05, allocations: 0 / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8103, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.293/8.104, allocations: 2.324 GB / 3.288 GB, free: 158.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/8.104, allocations: 94.98 kB / 3.288 GB, free: 158 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224/10.33, allocations: 472.9 MB / 3.749 GB, free: 75.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.295e-06/10.33, allocations: 0 / 3.749 GB, free: 75.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001688/10.33, allocations: 39.98 kB / 3.749 GB, free: 75.07 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004306/10.33, allocations: 1.515 MB / 3.751 GB, free: 73.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/10.33, allocations: 8.031 kB / 3.751 GB, free: 73.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/10.34, allocations: 489.7 kB / 3.751 GB, free: 73.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/10.34, allocations: 1.292 MB / 3.753 GB, free: 71.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/10.34, allocations: 32 kB / 3.753 GB, free: 71.65 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/10.34, allocations: 63.94 kB / 3.753 GB, free: 71.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002737/10.34, allocations: 1.117 MB / 3.754 GB, free: 70.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/10.35, allocations: 1.093 MB / 3.755 GB, free: 69.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/10.35, allocations: 0 / 3.755 GB, free: 69.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/10.35, allocations: 0 / 3.755 GB, free: 69.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/10.35, allocations: 41.98 kB / 3.755 GB, free: 69.33 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.009831/10.36, allocations: 4.645 MB / 3.76 GB, free: 64.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/10.36, allocations: 0.9257 MB / 3.76 GB, free: 63.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/10.36, allocations: 0.5367 MB / 3.761 GB, free: 62.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/10.36, allocations: 203 kB / 3.761 GB, free: 62.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/10.36, allocations: 43.34 kB / 3.761 GB, free: 62.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.737e-06/10.36, allocations: 0 / 3.761 GB, free: 62.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.007194/10.37, allocations: 2.437 MB / 3.764 GB, free: 60.06 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/10.37, allocations: 60.19 kB / 3.764 GB, free: 59.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/10.37, allocations: 0.7547 MB / 3.764 GB, free: 59.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002238/10.37, allocations: 37.64 kB / 3.764 GB, free: 59.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/10.37, allocations: 0.5234 MB / 3.765 GB, free: 58.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/10.37, allocations: 275.9 kB / 3.765 GB, free: 58.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/10.37, allocations: 0 / 3.765 GB, free: 58.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/10.37, allocations: 342 kB / 3.765 GB, free: 58.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008268/10.37, allocations: 409.3 kB / 3.766 GB, free: 57.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/10.37, allocations: 0.5833 MB / 3.766 GB, free: 56.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/10.37, allocations: 0.5157 MB / 3.767 GB, free: 56.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/10.37, allocations: 0 / 3.767 GB, free: 56.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002692/10.38, allocations: 1.155 MB / 3.768 GB, free: 55.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/10.38, allocations: 1.054 MB / 3.769 GB, free: 54.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/10.38, allocations: 0 / 3.769 GB, free: 54.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/10.38, allocations: 72.81 kB / 3.769 GB, free: 54.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/10.38, allocations: 191.7 kB / 3.769 GB, free: 53.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/10.38, allocations: 2.943 MB / 3.772 GB, free: 50.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/10.38, allocations: 123.6 kB / 3.772 GB, free: 50.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/10.38, allocations: 35.95 kB / 3.772 GB, free: 50.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/10.38, allocations: 4 kB / 3.772 GB, free: 50.64 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002306/10.39, allocations: 1.011 MB / 3.773 GB, free: 49.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/10.39, allocations: 8.031 kB / 3.773 GB, free: 49.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/10.39, allocations: 72.81 kB / 3.773 GB, free: 49.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/10.39, allocations: 171.7 kB / 3.774 GB, free: 49.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/10.39, allocations: 1.752 MB / 3.775 GB, free: 47.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/10.39, allocations: 123.6 kB / 3.775 GB, free: 47.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/10.39, allocations: 28 kB / 3.775 GB, free: 47.37 MB / 0.948 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 () * 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.0003411/10.39, allocations: 126.6 kB / 3.776 GB, free: 47.24 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002346/10.4, allocations: 1.015 MB / 3.777 GB, free: 46.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/10.4, allocations: 110.7 kB / 3.777 GB, free: 46.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/10.4, allocations: 1.105 MB / 3.778 GB, free: 44.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/10.4, allocations: 8 kB / 3.778 GB, free: 44.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/10.4, allocations: 0 / 3.778 GB, free: 44.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001953/10.4, allocations: 1.177 MB / 3.779 GB, free: 43.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/10.41, allocations: 2.568 MB / 3.781 GB, free: 41.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/10.41, allocations: 7.938 kB / 3.781 GB, free: 41.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/10.41, allocations: 239.7 kB / 3.782 GB, free: 40.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/10.41, allocations: 64.83 kB / 3.782 GB, free: 40.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/10.41, allocations: 16.23 kB / 3.782 GB, free: 40.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/10.41, allocations: 2.928 MB / 3.785 GB, free: 37.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/10.41, allocations: 7.891 kB / 3.785 GB, free: 37.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/10.42, allocations: 1.949 MB / 3.787 GB, free: 35.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/10.42, allocations: 311.8 kB / 3.787 GB, free: 35.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/10.42, allocations: 12 kB / 3.787 GB, free: 35.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/10.42, allocations: 103.6 kB / 3.787 GB, free: 35.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/10.42, allocations: 56.59 kB / 3.787 GB, free: 35.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/10.42, allocations: 35.98 kB / 3.787 GB, free: 35.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001065/10.42, allocations: 0.5927 MB / 3.788 GB, free: 34.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.42e-07/10.42, allocations: 0 / 3.788 GB, free: 34.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003434/10.42, allocations: 0.7187 MB / 3.788 GB, free: 33.78 MB / 0.948 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 () * 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.006322/10.43, allocations: 4.439 MB / 3.793 GB, free: 29.22 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004258/10.43, allocations: 1.81 MB / 3.794 GB, free: 27.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/10.43, allocations: 4 kB / 3.794 GB, free: 27.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/10.44, allocations: 0.6253 MB / 3.795 GB, free: 26.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006199/10.44, allocations: 0.741 MB / 3.796 GB, free: 26.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/10.45, allocations: 2.936 MB / 3.799 GB, free: 23.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/10.45, allocations: 1.442 MB / 3.8 GB, free: 21.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004409/10.46, allocations: 0.9491 MB / 3.801 GB, free: 20.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/10.46, allocations: 439.3 kB / 3.801 GB, free: 20.15 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/10.46, allocations: 0 / 3.801 GB, free: 20.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8296/11.29, allocations: 46.39 MB / 3.847 GB, free: 210.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/11.29, allocations: 204.8 kB / 3.847 GB, free: 210 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.327/15.61, allocations: 0 / 3.847 GB, free: 210 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)