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.723/1.723, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001526/0.001526, allocations: 184.8 kB / 366.7 MB, free: 1.625 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.933/1.933, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009341/0.0009342, allocations: 84.84 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.88e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8237/0.8237, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.65/7.474, allocations: 2.325 GB / 3.299 GB, free: 166.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/7.475, allocations: 91.95 kB / 3.299 GB, free: 166.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.767/9.242, allocations: 472.9 MB / 3.76 GB, free: 69.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/9.242, allocations: 0 / 3.76 GB, free: 69.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001146/9.242, allocations: 35.98 kB / 3.761 GB, free: 69.11 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.003476/9.246, allocations: 1.511 MB / 3.762 GB, free: 67.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/9.246, allocations: 20.02 kB / 3.762 GB, free: 67.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/9.249, allocations: 485.7 kB / 3.762 GB, free: 67.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/9.251, allocations: 1.3 MB / 3.764 GB, free: 65.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/9.251, allocations: 28 kB / 3.764 GB, free: 65.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/9.252, allocations: 64 kB / 3.764 GB, free: 65.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001744/9.253, allocations: 1.113 MB / 3.765 GB, free: 64.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/9.255, allocations: 1.081 MB / 3.766 GB, free: 63.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/9.255, allocations: 7.984 kB / 3.766 GB, free: 63.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/9.255, allocations: 7.953 kB / 3.766 GB, free: 63.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/9.255, allocations: 34 kB / 3.766 GB, free: 63.37 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.007068/9.262, allocations: 4.642 MB / 3.771 GB, free: 58.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/9.264, allocations: 0.9407 MB / 3.771 GB, free: 57.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006658/9.264, allocations: 0.5367 MB / 3.772 GB, free: 56.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/9.265, allocations: 195 kB / 3.772 GB, free: 56.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/9.265, allocations: 55.33 kB / 3.772 GB, free: 56.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 4.519e-06/9.265, allocations: 3.938 kB / 3.772 GB, free: 56.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.005155/9.27, allocations: 2.433 MB / 3.775 GB, free: 54.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/9.27, allocations: 60.19 kB / 3.775 GB, free: 54.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/9.271, allocations: 0.7509 MB / 3.775 GB, free: 53.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/9.271, allocations: 29.7 kB / 3.775 GB, free: 53.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/9.271, allocations: 0.5272 MB / 3.776 GB, free: 52.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/9.272, allocations: 275.9 kB / 3.776 GB, free: 52.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/9.272, allocations: 4 kB / 3.776 GB, free: 52.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/9.272, allocations: 338 kB / 3.777 GB, free: 52.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/9.272, allocations: 413.3 kB / 3.777 GB, free: 51.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/9.273, allocations: 0.5801 MB / 3.778 GB, free: 51.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/9.273, allocations: 0.5157 MB / 3.778 GB, free: 50.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/9.273, allocations: 4 kB / 3.778 GB, free: 50.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00146/9.275, allocations: 1.152 MB / 3.779 GB, free: 49.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/9.275, allocations: 1.054 MB / 3.78 GB, free: 48.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/9.275, allocations: 4 kB / 3.78 GB, free: 48.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/9.275, allocations: 72.81 kB / 3.78 GB, free: 48.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/9.276, allocations: 187.8 kB / 3.78 GB, free: 47.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/9.278, allocations: 2.939 MB / 3.783 GB, free: 44.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/9.28, allocations: 119.7 kB / 3.783 GB, free: 44.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/9.28, allocations: 35.98 kB / 3.783 GB, free: 44.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/9.28, allocations: 4 kB / 3.783 GB, free: 44.69 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/9.281, allocations: 1.01 MB / 3.784 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/9.281, allocations: 7.938 kB / 3.784 GB, free: 43.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/9.281, allocations: 73.16 kB / 3.785 GB, free: 43.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/9.282, allocations: 175.7 kB / 3.785 GB, free: 43.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/9.283, allocations: 1.751 MB / 3.786 GB, free: 41.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/9.285, allocations: 123.6 kB / 3.787 GB, free: 41.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/9.285, allocations: 28.17 kB / 3.787 GB, free: 41.4 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.0002265/9.285, allocations: 124.9 kB / 3.787 GB, free: 41.27 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001281/9.286, allocations: 1.011 MB / 3.788 GB, free: 40.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/9.286, allocations: 118.6 kB / 3.788 GB, free: 40.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/9.288, allocations: 1.101 MB / 3.789 GB, free: 39.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/9.288, allocations: 11.94 kB / 3.789 GB, free: 39.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/9.288, allocations: 4 kB / 3.789 GB, free: 39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/9.289, allocations: 1.173 MB / 3.79 GB, free: 37.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/9.293, allocations: 2.565 MB / 3.792 GB, free: 35.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/9.293, allocations: 7.984 kB / 3.793 GB, free: 35.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/9.294, allocations: 247.9 kB / 3.793 GB, free: 34.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/9.294, allocations: 68.81 kB / 3.793 GB, free: 34.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/9.294, allocations: 15.98 kB / 3.793 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/9.295, allocations: 2.924 MB / 3.796 GB, free: 31.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/9.295, allocations: 4 kB / 3.796 GB, free: 31.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/9.298, allocations: 1.945 MB / 3.798 GB, free: 29.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/9.298, allocations: 315.8 kB / 3.798 GB, free: 29.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/9.298, allocations: 11.98 kB / 3.798 GB, free: 29.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/9.299, allocations: 103.6 kB / 3.798 GB, free: 29.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/9.299, allocations: 52.61 kB / 3.798 GB, free: 29.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/9.3, allocations: 35.98 kB / 3.798 GB, free: 29.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007272/9.3, allocations: 0.5888 MB / 3.799 GB, free: 28.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.2e-07/9.3, allocations: 4 kB / 3.799 GB, free: 28.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002311/9.303, allocations: 0.7304 MB / 3.799 GB, free: 27.81 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.004332/9.307, allocations: 4.435 MB / 3.804 GB, free: 23.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002659/9.31, allocations: 1.812 MB / 3.805 GB, free: 21.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/9.31, allocations: 1.375 kB / 3.805 GB, free: 21.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/9.31, allocations: 0.6374 MB / 3.806 GB, free: 20.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/9.314, allocations: 0.7385 MB / 3.807 GB, free: 20.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/9.319, allocations: 2.927 MB / 3.81 GB, free: 17.03 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/9.32, allocations: 1.442 MB / 3.811 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002458/9.322, allocations: 0.9453 MB / 3.812 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/9.323, allocations: 439.3 kB / 3.812 GB, free: 14.18 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/9.323, allocations: 0 / 3.812 GB, free: 14.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8376/10.16, allocations: 46.39 MB / 3.858 GB, free: 208 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/10.16, allocations: 200.1 kB / 3.858 GB, free: 207.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/14.04, allocations: 0 / 3.858 GB, free: 207.8 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)