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.482/1.482, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001019/0.001019, allocations: 94.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.602e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2269, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.885/8.112, allocations: 2.442 GB / 3.334 GB, free: 225 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/8.112, allocations: 96.06 kB / 3.334 GB, free: 225 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.653/9.765, allocations: 467.7 MB / 3.79 GB, free: 102 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.755e-06/9.765, allocations: 0 / 3.79 GB, free: 102 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001191/9.765, allocations: 39.92 kB / 3.791 GB, free: 102 MB / 0.8698 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.003292/9.769, allocations: 1.515 MB / 3.792 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 9.639e-05/9.769, allocations: 12.03 kB / 3.792 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/9.769, allocations: 164.3 kB / 3.792 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/9.772, allocations: 489.7 kB / 3.793 GB, free: 99.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/9.775, allocations: 1.323 MB / 3.794 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/9.775, allocations: 78 kB / 3.794 GB, free: 98.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/9.775, allocations: 108 kB / 3.794 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/9.777, allocations: 1.254 MB / 3.795 GB, free: 96.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/9.777, allocations: 0 / 3.795 GB, free: 96.96 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/9.777, allocations: 44 kB / 3.795 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/9.777, allocations: 41.94 kB / 3.795 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/9.779, allocations: 1.175 MB / 3.797 GB, free: 95.7 MB / 0.8698 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.005575/9.784, allocations: 4.899 MB / 3.801 GB, free: 90.42 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/9.786, allocations: 0.9536 MB / 3.802 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/9.786, allocations: 0.5523 MB / 3.803 GB, free: 88.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003932/9.787, allocations: 204.1 kB / 3.803 GB, free: 88.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/9.787, allocations: 43.34 kB / 3.803 GB, free: 88.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 4.028e-06/9.787, allocations: 0 / 3.803 GB, free: 88.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.004773/9.791, allocations: 2.531 MB / 3.806 GB, free: 86.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/9.792, allocations: 60.19 kB / 3.806 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/9.793, allocations: 0.8632 MB / 3.806 GB, free: 85.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/9.793, allocations: 45.7 kB / 3.806 GB, free: 85.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/9.793, allocations: 0.543 MB / 3.807 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/9.793, allocations: 283.8 kB / 3.807 GB, free: 84.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/9.793, allocations: 20 kB / 3.807 GB, free: 84.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001075/9.793, allocations: 342 kB / 3.808 GB, free: 83.82 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/9.794, allocations: 417.3 kB / 3.808 GB, free: 83.42 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/9.795, allocations: 0.5926 MB / 3.809 GB, free: 82.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/9.795, allocations: 0.529 MB / 3.809 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/9.795, allocations: 0 / 3.809 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001617/9.797, allocations: 1.21 MB / 3.81 GB, free: 81.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003954/9.797, allocations: 1.046 MB / 3.811 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/9.797, allocations: 4 kB / 3.811 GB, free: 79.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/9.798, allocations: 72.75 kB / 3.811 GB, free: 79.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/9.799, allocations: 179.8 kB / 3.812 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/9.801, allocations: 2.999 MB / 3.814 GB, free: 76.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/9.802, allocations: 151.6 kB / 3.815 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/9.802, allocations: 28 kB / 3.815 GB, free: 76.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/9.802, allocations: 4 kB / 3.815 GB, free: 76.27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/9.804, allocations: 1.077 MB / 3.816 GB, free: 75.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/9.804, allocations: 4.031 kB / 3.816 GB, free: 75.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/9.804, allocations: 76.81 kB / 3.816 GB, free: 75.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/9.805, allocations: 175.7 kB / 3.816 GB, free: 74.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/9.806, allocations: 1.803 MB / 3.818 GB, free: 73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/9.807, allocations: 147.5 kB / 3.818 GB, free: 72.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/9.807, allocations: 35.98 kB / 3.818 GB, free: 72.82 MB / 0.8698 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.0002833/9.808, allocations: 148.8 kB / 3.818 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/9.808, allocations: 118.6 kB / 3.818 GB, free: 72.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/9.81, allocations: 1.156 MB / 3.819 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/9.81, allocations: 8 kB / 3.819 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/9.81, allocations: 0 / 3.819 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/9.811, allocations: 1.209 MB / 3.82 GB, free: 70.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/9.815, allocations: 2.78 MB / 3.823 GB, free: 67.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/9.815, allocations: 8.25 kB / 3.823 GB, free: 67.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/9.816, allocations: 243.6 kB / 3.823 GB, free: 66.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/9.816, allocations: 64.81 kB / 3.823 GB, free: 66.92 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/9.816, allocations: 27.98 kB / 3.824 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/9.819, allocations: 2.979 MB / 3.826 GB, free: 63.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/9.819, allocations: 4 kB / 3.826 GB, free: 63.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/9.821, allocations: 2 MB / 3.828 GB, free: 61.64 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/9.822, allocations: 339.7 kB / 3.829 GB, free: 61.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/9.822, allocations: 23.98 kB / 3.829 GB, free: 61.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/9.823, allocations: 115.9 kB / 3.829 GB, free: 61.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/9.824, allocations: 48.72 kB / 3.829 GB, free: 61.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/9.824, allocations: 39.97 kB / 3.829 GB, free: 61.06 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009781/9.825, allocations: 0.6883 MB / 3.83 GB, free: 60.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/9.825, allocations: 0 / 3.83 GB, free: 60.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003295/9.828, allocations: 0.7968 MB / 3.83 GB, free: 59.56 MB / 0.8698 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.005884/9.834, allocations: 4.341 MB / 3.835 GB, free: 55.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002869/9.837, allocations: 1.851 MB / 3.836 GB, free: 53.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/9.837, allocations: 3.938 kB / 3.836 GB, free: 53.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/9.838, allocations: 0.6483 MB / 3.837 GB, free: 52.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/9.841, allocations: 0.7903 MB / 3.838 GB, free: 51.76 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/9.847, allocations: 3.061 MB / 3.841 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/9.848, allocations: 1.462 MB / 3.842 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002749/9.85, allocations: 0.9962 MB / 3.843 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/9.851, allocations: 447.3 kB / 3.844 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/9.851, allocations: 0 / 3.844 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7145/10.57, allocations: 63.63 MB / 3.906 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/10.57, allocations: 259.7 kB / 3.906 GB, free: 181 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/14.8, allocations: 1.641 kB / 3.906 GB, free: 181 MB / 0.8698 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)