Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001264/0.001264, allocations: 183.3 kB / 371.6 MB, free: 3.41 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.709/1.709, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001028/0.001028, allocations: 94.53 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.126e-05/5.145e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3619, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.241/8.603, allocations: 2.326 GB / 3.306 GB, free: 227 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/8.603, allocations: 98.98 kB / 3.306 GB, free: 226.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.839/10.44, allocations: 478.2 MB / 3.773 GB, free: 130.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.232e-06/10.44, allocations: 0 / 3.773 GB, free: 130.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002018/10.44, allocations: 43.92 kB / 3.773 GB, free: 130.6 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.004315/10.45, allocations: 1.506 MB / 3.774 GB, free: 129.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/10.45, allocations: 16.03 kB / 3.774 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005542/10.45, allocations: 156.1 kB / 3.775 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/10.45, allocations: 485.8 kB / 3.775 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/10.46, allocations: 1.3 MB / 3.776 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/10.46, allocations: 82 kB / 3.776 GB, free: 127 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004547/10.46, allocations: 100 kB / 3.776 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/10.46, allocations: 1.225 MB / 3.778 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.394e-05/10.46, allocations: 4 kB / 3.778 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/10.46, allocations: 36 kB / 3.778 GB, free: 125.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/10.46, allocations: 41.98 kB / 3.778 GB, free: 125.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/10.46, allocations: 1.159 MB / 3.779 GB, free: 124.4 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.008372/10.47, allocations: 4.856 MB / 3.784 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/10.47, allocations: 0.9701 MB / 3.785 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/10.47, allocations: 0.5523 MB / 3.785 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/10.47, allocations: 210.9 kB / 3.785 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/10.47, allocations: 51.28 kB / 3.785 GB, free: 117.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.075e-06/10.47, allocations: 0 / 3.785 GB, free: 117.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.005303/10.48, allocations: 2.543 MB / 3.788 GB, free: 114.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/10.48, allocations: 68.14 kB / 3.788 GB, free: 114.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/10.48, allocations: 0.8387 MB / 3.789 GB, free: 113.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/10.48, allocations: 45.7 kB / 3.789 GB, free: 113.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/10.48, allocations: 0.5312 MB / 3.789 GB, free: 113.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/10.48, allocations: 287.9 kB / 3.79 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/10.48, allocations: 16 kB / 3.79 GB, free: 112.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/10.48, allocations: 341.9 kB / 3.79 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/10.48, allocations: 425.3 kB / 3.79 GB, free: 112.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/10.48, allocations: 0.5966 MB / 3.791 GB, free: 111.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/10.48, allocations: 0.5368 MB / 3.791 GB, free: 111 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/10.48, allocations: 0 / 3.791 GB, free: 111 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001637/10.48, allocations: 1.222 MB / 3.793 GB, free: 109.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002269/10.48, allocations: 1.054 MB / 3.794 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/10.48, allocations: 4 kB / 3.794 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/10.48, allocations: 72.81 kB / 3.794 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/10.48, allocations: 195.6 kB / 3.794 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/10.49, allocations: 2.983 MB / 3.797 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/10.49, allocations: 147.6 kB / 3.797 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/10.49, allocations: 24 kB / 3.797 GB, free: 105 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/10.49, allocations: 4 kB / 3.797 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/10.49, allocations: 1.097 MB / 3.798 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/10.49, allocations: 8.062 kB / 3.798 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/10.49, allocations: 72.81 kB / 3.798 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/10.49, allocations: 167.8 kB / 3.798 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/10.49, allocations: 1.811 MB / 3.8 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/10.49, allocations: 147.6 kB / 3.8 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/10.49, allocations: 31.98 kB / 3.8 GB, free: 101.5 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.0002401/10.49, allocations: 152.8 kB / 3.8 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/10.49, allocations: 106.7 kB / 3.8 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/10.5, allocations: 1.176 MB / 3.802 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/10.5, allocations: 8 kB / 3.802 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/10.5, allocations: 0 / 3.802 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/10.5, allocations: 1.228 MB / 3.803 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/10.5, allocations: 2.768 MB / 3.806 GB, free: 95.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/10.5, allocations: 256 / 3.806 GB, free: 95.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/10.5, allocations: 247.6 kB / 3.806 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/10.5, allocations: 72.77 kB / 3.806 GB, free: 95.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/10.5, allocations: 27.98 kB / 3.806 GB, free: 95.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/10.5, allocations: 2.983 MB / 3.809 GB, free: 92.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/10.5, allocations: 7.938 kB / 3.809 GB, free: 92.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/10.51, allocations: 2.011 MB / 3.811 GB, free: 90.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/10.51, allocations: 319.7 kB / 3.811 GB, free: 89.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/10.51, allocations: 23.95 kB / 3.811 GB, free: 89.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/10.51, allocations: 119.6 kB / 3.811 GB, free: 89.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/10.51, allocations: 56.64 kB / 3.811 GB, free: 89.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/10.51, allocations: 27.98 kB / 3.811 GB, free: 89.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009114/10.51, allocations: 0.6721 MB / 3.812 GB, free: 89.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/10.51, allocations: 0 / 3.812 GB, free: 89.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002641/10.51, allocations: 0.7851 MB / 3.813 GB, free: 88.27 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.004552/10.52, allocations: 4.365 MB / 3.817 GB, free: 83.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002725/10.52, allocations: 1.879 MB / 3.819 GB, free: 81.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/10.52, allocations: 4 kB / 3.819 GB, free: 81.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/10.52, allocations: 0.6549 MB / 3.819 GB, free: 81.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/10.52, allocations: 0.7875 MB / 3.82 GB, free: 80.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/10.53, allocations: 3.01 MB / 3.823 GB, free: 77.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/10.53, allocations: 1.438 MB / 3.825 GB, free: 75.87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002463/10.53, allocations: 0.9962 MB / 3.826 GB, free: 74.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/10.53, allocations: 443.3 kB / 3.826 GB, free: 74.44 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/10.53, allocations: 0 / 3.826 GB, free: 74.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09716/10.63, allocations: 63.19 MB / 3.888 GB, free: 11.53 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/10.63, allocations: 250.5 kB / 3.888 GB, free: 11.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.451/15.08, allocations: 0 / 3.888 GB, free: 11.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)