Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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: translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8556/0.8556, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001149/0.001149, allocations: 184.9 kB / 182.2 MB, free: 9.445 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.603/1.603, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001018/0.001019, allocations: 84.12 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001898, allocations: 275.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.823e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5438, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.445/6.989, allocations: 2.126 GB / 2.883 GB, free: 216.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/6.989, allocations: 99.81 kB / 2.884 GB, free: 216.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.337/9.326, allocations: 0.7055 GB / 3.589 GB, free: 34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/9.326, allocations: 0 / 3.589 GB, free: 34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002192/9.327, allocations: 43.92 kB / 3.589 GB, free: 33.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.00574/9.332, allocations: 1.551 MB / 3.591 GB, free: 32.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/9.333, allocations: 8.031 kB / 3.591 GB, free: 32.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/9.337, allocations: 491.4 kB / 3.591 GB, free: 31.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/9.341, allocations: 1.319 MB / 3.592 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/9.342, allocations: 35.95 kB / 3.592 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/9.342, allocations: 79.59 kB / 3.593 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002596/9.345, allocations: 1.171 MB / 3.594 GB, free: 29.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/9.347, allocations: 1.132 MB / 3.595 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/9.347, allocations: 0 / 3.595 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/9.347, allocations: 0 / 3.595 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/9.348, allocations: 42.05 kB / 3.595 GB, free: 28.02 MB / 0.698 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.007603/9.355, allocations: 4.774 MB / 3.599 GB, free: 22.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/9.356, allocations: 1 MB / 3.6 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/9.357, allocations: 0.5562 MB / 3.601 GB, free: 21.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/9.357, allocations: 207.2 kB / 3.601 GB, free: 21.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/9.357, allocations: 47.34 kB / 3.601 GB, free: 21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 2.876e-06/9.357, allocations: 0 / 3.601 GB, free: 21 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.005186/9.363, allocations: 2.522 MB / 3.604 GB, free: 18.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/9.363, allocations: 60.19 kB / 3.604 GB, free: 18.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/9.364, allocations: 0.7629 MB / 3.605 GB, free: 17.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/9.364, allocations: 25.7 kB / 3.605 GB, free: 17.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/9.364, allocations: 0.5429 MB / 3.605 GB, free: 16.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/9.364, allocations: 283.7 kB / 3.605 GB, free: 16.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/9.364, allocations: 4 kB / 3.605 GB, free: 16.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/9.364, allocations: 341.9 kB / 3.606 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/9.365, allocations: 425.3 kB / 3.606 GB, free: 15.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/9.366, allocations: 0.5808 MB / 3.607 GB, free: 15.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/9.366, allocations: 0.5352 MB / 3.607 GB, free: 14.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/9.366, allocations: 0 / 3.607 GB, free: 14.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00148/9.368, allocations: 1.171 MB / 3.608 GB, free: 13.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/9.368, allocations: 0.7894 MB / 3.609 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/9.368, allocations: 3.953 kB / 3.609 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/9.368, allocations: 76.75 kB / 3.609 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/9.369, allocations: 190.9 kB / 3.609 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/9.371, allocations: 2.935 MB / 3.612 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/9.372, allocations: 131.6 kB / 3.612 GB, free: 9.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/9.373, allocations: 28 kB / 3.612 GB, free: 9.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/9.373, allocations: 4 kB / 3.612 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/9.374, allocations: 1.03 MB / 3.613 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/9.374, allocations: 11.94 kB / 3.613 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/9.374, allocations: 68.81 kB / 3.613 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/9.375, allocations: 180 kB / 3.614 GB, free: 7.926 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/9.376, allocations: 1.74 MB / 3.615 GB, free: 6.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/9.377, allocations: 123.6 kB / 3.615 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/9.378, allocations: 28 kB / 3.615 GB, free: 5.922 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0002384/9.378, allocations: 128.7 kB / 3.616 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/9.378, allocations: 106.7 kB / 3.616 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/9.38, allocations: 1.147 MB / 3.617 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/9.38, allocations: 8 kB / 3.617 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/9.38, allocations: 3.953 kB / 3.617 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/9.381, allocations: 1.216 MB / 3.618 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/9.385, allocations: 2.665 MB / 3.621 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/9.385, allocations: 0 / 3.621 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/9.386, allocations: 243.7 kB / 3.621 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/9.386, allocations: 69.06 kB / 3.621 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/9.387, allocations: 15.98 kB / 3.621 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5376/9.924, allocations: 2.917 MB / 3.624 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/9.924, allocations: 6.094 kB / 3.624 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/9.928, allocations: 2.032 MB / 3.626 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/9.929, allocations: 321.8 kB / 3.626 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/9.93, allocations: 9.25 kB / 3.626 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/9.931, allocations: 98.36 kB / 3.626 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/9.931, allocations: 57.3 kB / 3.626 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/9.931, allocations: 35.14 kB / 3.626 GB, free: 127.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001373/9.932, allocations: 0.6029 MB / 3.627 GB, free: 127.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/9.932, allocations: 1.656 kB / 3.627 GB, free: 127.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003905/9.936, allocations: 0.7294 MB / 3.628 GB, free: 127.2 MB / 0.698 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 (79): * Single equations (assignments): 76 * 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.003539/9.94, allocations: 1.512 MB / 3.629 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003928/9.944, allocations: 1.856 MB / 3.631 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/9.944, allocations: 0 / 3.631 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/9.945, allocations: 0.6548 MB / 3.631 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/9.949, allocations: 0.7419 MB / 3.632 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/9.953, allocations: 2.623 MB / 3.635 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/9.954, allocations: 1.474 MB / 3.636 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002914/9.957, allocations: 0.9731 MB / 3.637 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/9.957, allocations: 68.03 kB / 3.637 GB, free: 125.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.51e-07/9.957, allocations: 0 / 3.637 GB, free: 125.3 MB / 0.698 GB Notification: Performance of Templates: time 0.07476/10.03, allocations: 33.34 MB / 3.67 GB, free: 124.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)