Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.419/1.419, allocations: 249.5 MB / 257 MB, free: 6.895 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.0009899/0.0009896, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008474/0.0008472, allocations: 101.5 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.076e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2288, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.163/6.392, allocations: 2.196 GB / 3.081 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/6.393, allocations: 91.94 kB / 3.081 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.464/8.857, allocations: 0.7272 GB / 3.808 GB, free: 134 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/8.857, allocations: 0 / 3.808 GB, free: 134 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001111/8.857, allocations: 43.8 kB / 3.808 GB, free: 133.9 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003989/8.861, allocations: 1.557 MB / 3.81 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/8.861, allocations: 15.95 kB / 3.81 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/8.866, allocations: 481.6 kB / 3.81 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/8.869, allocations: 1.095 MB / 3.811 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/8.869, allocations: 39.95 kB / 3.811 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/8.869, allocations: 68 kB / 3.811 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001807/8.871, allocations: 0.9414 MB / 3.812 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/8.873, allocations: 1.058 MB / 3.813 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/8.873, allocations: 0 / 3.813 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/8.873, allocations: 4 kB / 3.813 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/8.873, allocations: 46.19 kB / 3.813 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006546/8.879, allocations: 4.288 MB / 3.818 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/8.88, allocations: 0.5702 MB / 3.818 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/8.881, allocations: 373.3 kB / 3.819 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/8.881, allocations: 293.7 kB / 3.819 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/8.881, allocations: 43.12 kB / 3.819 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 5.05e-06/8.881, allocations: 4 kB / 3.819 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.001721/8.883, allocations: 0.7727 MB / 3.82 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/8.883, allocations: 59.97 kB / 3.82 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/8.884, allocations: 0.6583 MB / 3.82 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/8.884, allocations: 29.7 kB / 3.82 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/8.884, allocations: 0.6022 MB / 3.821 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/8.884, allocations: 232.6 kB / 3.821 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/8.884, allocations: 0 / 3.821 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/8.884, allocations: 334 kB / 3.821 GB, free: 120 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/8.885, allocations: 274.5 kB / 3.822 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/8.885, allocations: 496.2 kB / 3.822 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/8.885, allocations: 368.3 kB / 3.823 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/8.885, allocations: 0 / 3.823 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001111/8.887, allocations: 0.8508 MB / 3.823 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/8.887, allocations: 7.953 kB / 3.823 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.887, allocations: 11.98 kB / 3.823 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/8.887, allocations: 8 kB / 3.823 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/8.887, allocations: 167.7 kB / 3.824 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/8.887, allocations: 11.94 kB / 3.824 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/8.888, allocations: 87.36 kB / 3.824 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/8.889, allocations: 40 kB / 3.824 GB, free: 117.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/8.889, allocations: 128.7 kB / 3.824 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009833/8.89, allocations: 0.7141 MB / 3.824 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/8.89, allocations: 114.7 kB / 3.825 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/8.89, allocations: 108.9 kB / 3.825 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/8.89, allocations: 8 kB / 3.825 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/8.89, allocations: 96 / 3.825 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008635/8.891, allocations: 0.892 MB / 3.826 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/8.894, allocations: 2.09 MB / 3.828 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/8.894, allocations: 4 kB / 3.828 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/8.895, allocations: 131.8 kB / 3.828 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/8.895, allocations: 85.97 kB / 3.828 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/8.895, allocations: 15.98 kB / 3.828 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/8.897, allocations: 2.794 MB / 3.831 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/8.897, allocations: 7.938 kB / 3.831 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/8.899, allocations: 1.478 MB / 3.832 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/8.899, allocations: 287.7 kB / 3.832 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/8.899, allocations: 11.98 kB / 3.832 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/8.9, allocations: 51.86 kB / 3.832 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/8.9, allocations: 60.27 kB / 3.832 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/8.9, allocations: 35.97 kB / 3.832 GB, free: 108 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006263/8.901, allocations: 0.4921 MB / 3.833 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.901, allocations: 0 / 3.833 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001733/8.903, allocations: 0.5365 MB / 3.833 GB, free: 106.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004345/8.907, allocations: 4.726 MB / 3.838 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001028/8.908, allocations: 0.6503 MB / 3.839 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/8.908, allocations: 0 / 3.839 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/8.909, allocations: 0.5359 MB / 3.839 GB, free: 101 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/8.912, allocations: 0.6271 MB / 3.84 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/8.916, allocations: 2.279 MB / 3.842 GB, free: 98.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/8.917, allocations: 1.274 MB / 3.843 GB, free: 96.72 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001194/8.918, allocations: 292.5 kB / 3.844 GB, free: 96.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/8.918, allocations: 463.3 kB / 3.844 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/8.918, allocations: 0 / 3.844 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/8.985, allocations: 41.78 MB / 3.885 GB, free: 54.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/8.985, allocations: 195.4 kB / 3.885 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/12.1, allocations: 7.969 kB / 3.885 GB, free: 54.17 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)