Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.695/1.695, 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.00112/0.00112, allocations: 181.7 kB / 371.6 MB, free: 3.398 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.726/1.726, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009073/0.0009074, allocations: 91.97 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.742e-05/4.744e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.342, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/1.686, allocations: 401.6 MB / 1.372 GB, free: 11.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/1.687, allocations: 97.22 kB / 1.372 GB, free: 11.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.383/3.07, allocations: 242.2 MB / 1.609 GB, free: 159.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.725e-06/3.07, allocations: 4 kB / 1.609 GB, free: 159.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002085/3.07, allocations: 31.92 kB / 1.609 GB, free: 159.9 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003007/3.073, allocations: 1.197 MB / 1.61 GB, free: 158.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/3.073, allocations: 8.031 kB / 1.61 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003026/3.074, allocations: 126.5 kB / 1.61 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/3.074, allocations: 142.5 kB / 1.61 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/3.09, allocations: 7.599 MB / 1.618 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/3.09, allocations: 58 kB / 1.618 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/3.091, allocations: 79.91 kB / 1.618 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/3.093, allocations: 0.9592 MB / 1.619 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/3.093, allocations: 11.92 kB / 1.619 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/3.093, allocations: 32 kB / 1.619 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/3.093, allocations: 24 kB / 1.619 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/3.094, allocations: 0.6831 MB / 1.619 GB, free: 148.8 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.006161/3.1, allocations: 4.535 MB / 1.624 GB, free: 143.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/3.101, allocations: 384 kB / 1.624 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/3.101, allocations: 253.4 kB / 1.624 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/3.102, allocations: 433.8 kB / 1.625 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/3.102, allocations: 42.89 kB / 1.625 GB, free: 142.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 4.098e-06/3.102, allocations: 0 / 1.625 GB, free: 142.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001301/3.103, allocations: 0.5386 MB / 1.625 GB, free: 142.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/3.103, allocations: 63.34 kB / 1.626 GB, free: 142.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/3.104, allocations: 0.8286 MB / 1.626 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/3.104, allocations: 33.7 kB / 1.626 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/3.105, allocations: 0.4989 MB / 1.627 GB, free: 140.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/3.105, allocations: 153.9 kB / 1.627 GB, free: 140.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/3.105, allocations: 12 kB / 1.627 GB, free: 140.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/3.105, allocations: 333.9 kB / 1.627 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/3.105, allocations: 213 kB / 1.628 GB, free: 140 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/3.106, allocations: 428.5 kB / 1.628 GB, free: 139.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/3.106, allocations: 317.3 kB / 1.628 GB, free: 139.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/3.106, allocations: 0 / 1.628 GB, free: 139.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001148/3.107, allocations: 0.7749 MB / 1.629 GB, free: 138.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005191/3.108, allocations: 2.178 MB / 1.631 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/3.108, allocations: 4 kB / 1.631 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/3.108, allocations: 68.81 kB / 1.631 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/3.109, allocations: 115.8 kB / 1.631 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004515/3.109, allocations: 0.6264 MB / 1.632 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/3.11, allocations: 115.4 kB / 1.632 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/3.11, allocations: 27.98 kB / 1.632 GB, free: 135 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/3.11, allocations: 4 kB / 1.632 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009201/3.111, allocations: 0.6677 MB / 1.633 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/3.111, allocations: 4 kB / 1.633 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/3.111, allocations: 64.81 kB / 1.633 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/3.112, allocations: 111.8 kB / 1.633 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/3.113, allocations: 1.666 MB / 1.634 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/3.114, allocations: 91.53 kB / 1.635 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/3.114, allocations: 35.98 kB / 1.635 GB, free: 132.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/3.114, allocations: 144.8 kB / 1.635 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/3.115, allocations: 86.97 kB / 1.635 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/3.116, allocations: 0.6322 MB / 1.635 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/3.116, allocations: 11.98 kB / 1.635 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/3.116, allocations: 0 / 1.635 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006662/3.116, allocations: 0.8165 MB / 1.636 GB, free: 130.5 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 postOpt removeSimpleEquations (simulation): time 0.002721/3.119, allocations: 1.654 MB / 1.638 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/3.119, allocations: 4 kB / 1.638 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/3.119, allocations: 83.88 kB / 1.638 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/3.12, allocations: 36.83 kB / 1.638 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/3.12, allocations: 12 kB / 1.638 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002667/3.12, allocations: 0.5758 MB / 1.639 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/3.12, allocations: 7.938 kB / 1.639 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/3.121, allocations: 0.979 MB / 1.64 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/3.122, allocations: 263.9 kB / 1.64 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/3.122, allocations: 12 kB / 1.64 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/3.123, allocations: 63.84 kB / 1.64 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/3.123, allocations: 31.91 kB / 1.64 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/3.123, allocations: 23.98 kB / 1.64 GB, free: 126.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008871/3.124, allocations: 0.6474 MB / 1.641 GB, free: 125.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/3.124, allocations: 3.938 kB / 1.641 GB, free: 125.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002368/3.126, allocations: 0.6002 MB / 1.641 GB, free: 125.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/3.128, allocations: 2.077 MB / 1.643 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001874/3.13, allocations: 1.014 MB / 1.644 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/3.13, allocations: 0.5625 kB / 1.644 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/3.131, allocations: 239.7 kB / 1.644 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/3.134, allocations: 0.5539 MB / 1.645 GB, free: 121.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/3.139, allocations: 1.963 MB / 1.647 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008913/3.14, allocations: 1.241 MB / 1.648 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002296/3.143, allocations: 0.6508 MB / 1.649 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/3.143, allocations: 347.2 kB / 1.649 GB, free: 117.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/3.143, allocations: 0 / 1.649 GB, free: 117.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/3.203, allocations: 31.69 MB / 1.68 GB, free: 85.68 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/3.204, allocations: 252.5 kB / 1.68 GB, free: 85.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.465/6.668, allocations: 3.125 kB / 1.68 GB, free: 85.34 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)