Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8373/0.8373, allocations: 143.4 MB / 158.3 MB, free: 5.672 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 177.1 kB / 191.5 MB, free: 5.656 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.2 MB / 447.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001087, allocations: 84.39 kB / 0.5187 GB, free: 1.219 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 276.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 11.5 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.177/6.387, allocations: 2.126 GB / 2.9 GB, free: 176.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/6.387, allocations: 92.77 kB / 2.9 GB, free: 176.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.766/8.153, allocations: 486.6 MB / 3.375 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/8.153, allocations: 0 / 3.375 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001402/8.153, allocations: 43.58 kB / 3.375 GB, free: 142.4 MB / 0.7136 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.004316/8.157, allocations: 1.755 MB / 3.377 GB, free: 141.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/8.157, allocations: 11.47 kB / 3.377 GB, free: 141.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/8.158, allocations: 162.9 kB / 3.377 GB, free: 141.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/8.161, allocations: 489.7 kB / 3.377 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/8.164, allocations: 1.301 MB / 3.379 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/8.164, allocations: 79.31 kB / 3.379 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/8.164, allocations: 101.7 kB / 3.379 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/8.166, allocations: 1.24 MB / 3.38 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/8.166, allocations: 11.44 kB / 3.38 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/8.166, allocations: 43.25 kB / 3.38 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/8.166, allocations: 36.09 kB / 3.38 GB, free: 141.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/8.169, allocations: 1.18 MB / 3.381 GB, free: 141.4 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008695/8.177, allocations: 4.85 MB / 3.386 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/8.179, allocations: 0.981 MB / 3.387 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/8.18, allocations: 202.3 kB / 3.387 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/8.18, allocations: 46.62 kB / 3.387 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=78): time 4.118e-06/8.18, allocations: 0 / 3.387 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81): time 0.006809/8.186, allocations: 2.957 MB / 3.39 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/8.187, allocations: 60.41 kB / 3.39 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/8.188, allocations: 0.8439 MB / 3.391 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/8.188, allocations: 43.73 kB / 3.391 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/8.189, allocations: 0.535 MB / 3.392 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/8.189, allocations: 288.2 kB / 3.392 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/8.189, allocations: 22.19 kB / 3.392 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/8.189, allocations: 346.6 kB / 3.392 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/8.19, allocations: 429.5 kB / 3.393 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/8.191, allocations: 0.6054 MB / 3.393 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/8.192, allocations: 0.5492 MB / 3.394 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/8.192, allocations: 4.406 kB / 3.394 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002252/8.194, allocations: 1.231 MB / 3.395 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002966/8.194, allocations: 1.055 MB / 3.396 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/8.194, allocations: 6.328 kB / 3.396 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/8.195, allocations: 70.89 kB / 3.396 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009855/8.196, allocations: 184 kB / 3.396 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/8.198, allocations: 3.021 MB / 3.399 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/8.2, allocations: 138.1 kB / 3.399 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.585e-05/8.2, allocations: 30.38 kB / 3.399 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/8.2, allocations: 3.875 kB / 3.399 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/8.201, allocations: 1.12 MB / 3.401 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/8.201, allocations: 1.312 kB / 3.401 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/8.202, allocations: 80.94 kB / 3.401 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/8.202, allocations: 172.2 kB / 3.401 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/8.204, allocations: 1.82 MB / 3.403 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/8.205, allocations: 153.3 kB / 3.403 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/8.205, allocations: 32.38 kB / 3.403 GB, free: 132.5 MB / 0.7136 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 () * Number of clocked 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.001174/8.207, allocations: 0.5914 MB / 3.403 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/8.207, allocations: 111.8 kB / 3.403 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/8.209, allocations: 1.179 MB / 3.405 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/8.209, allocations: 10.41 kB / 3.405 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/8.209, allocations: 0 / 3.405 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/8.211, allocations: 1.238 MB / 3.406 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/8.217, allocations: 2.781 MB / 3.408 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/8.217, allocations: 13.25 kB / 3.408 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/8.218, allocations: 241.9 kB / 3.409 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/8.218, allocations: 64.59 kB / 3.409 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/8.218, allocations: 32.11 kB / 3.409 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/8.22, allocations: 3.006 MB / 3.412 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/8.22, allocations: 2.109 kB / 3.412 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/8.223, allocations: 2.028 MB / 3.414 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/8.224, allocations: 326.5 kB / 3.414 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/8.224, allocations: 16.31 kB / 3.414 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/8.226, allocations: 119.7 kB / 3.414 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/8.226, allocations: 51.17 kB / 3.414 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/8.226, allocations: 32.8 kB / 3.414 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001127/8.227, allocations: 0.6776 MB / 3.415 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/8.227, allocations: 0 / 3.415 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003545/8.23, allocations: 0.788 MB / 3.416 GB, free: 128.2 MB / 0.7136 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 () * Number of clocked 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.005484/8.236, allocations: 4.37 MB / 3.42 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00324/8.239, allocations: 1.872 MB / 3.422 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/8.239, allocations: 3.812 kB / 3.422 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/8.24, allocations: 0.6587 MB / 3.422 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/8.244, allocations: 0.7778 MB / 3.423 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/8.262, allocations: 10.15 MB / 3.433 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/8.264, allocations: 1.445 MB / 3.435 GB, free: 121.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002337/8.266, allocations: 0.6925 MB / 3.435 GB, free: 121.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/8.267, allocations: 452 kB / 3.436 GB, free: 121.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.794e-06/8.267, allocations: 0 / 3.436 GB, free: 121.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/8.367, allocations: 58.15 MB / 3.492 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/8.368, allocations: 295.9 kB / 3.493 GB, free: 119.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.797/12.16, allocations: 0 / 3.493 GB, free: 119.5 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)