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.9784/0.9784, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.0009833, allocations: 184.9 kB / 187.3 MB, free: 11.88 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.602/1.602, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009175/0.0009175, allocations: 94.97 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 273.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.746e-05/4.748e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5392, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.077/6.616, allocations: 2.127 GB / 2.891 GB, free: 201.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/6.617, allocations: 103.5 kB / 2.891 GB, free: 201.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.367/8.984, allocations: 0.713 GB / 3.604 GB, free: 5.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.472e-06/8.984, allocations: 0 / 3.604 GB, free: 5.316 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001332/8.984, allocations: 39.98 kB / 3.604 GB, free: 5.277 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.003209/8.987, allocations: 1.562 MB / 3.606 GB, free: 3.664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/8.987, allocations: 8.031 kB / 3.606 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/8.99, allocations: 489.7 kB / 3.606 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/8.993, allocations: 1.319 MB / 3.607 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/8.993, allocations: 82.05 kB / 3.608 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/8.993, allocations: 108 kB / 3.608 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/8.995, allocations: 1.277 MB / 3.609 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/8.995, allocations: 3.984 kB / 3.609 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/8.995, allocations: 44 kB / 3.609 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/8.996, allocations: 42.06 kB / 3.609 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/8.998, allocations: 1.222 MB / 3.61 GB, free: 15 MB / 0.7136 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.008113/9.006, allocations: 5.01 MB / 3.615 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/9.007, allocations: 1.036 MB / 3.616 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00084/9.008, allocations: 0.5865 MB / 3.617 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/9.009, allocations: 200.1 kB / 3.617 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/9.009, allocations: 43.34 kB / 3.617 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=81): time 3.797e-06/9.009, allocations: 4 kB / 3.617 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.005993/9.015, allocations: 2.659 MB / 3.619 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/9.015, allocations: 60.19 kB / 3.62 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/9.016, allocations: 0.8921 MB / 3.62 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/9.016, allocations: 45.7 kB / 3.62 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/9.017, allocations: 0.5392 MB / 3.621 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/9.017, allocations: 303.6 kB / 3.621 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/9.017, allocations: 16 kB / 3.621 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001929/9.017, allocations: 334 kB / 3.622 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/9.018, allocations: 453.2 kB / 3.622 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/9.019, allocations: 0.5912 MB / 3.623 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/9.02, allocations: 0.5524 MB / 3.623 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/9.02, allocations: 0 / 3.623 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.5292/9.549, allocations: 1.232 MB / 3.624 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003131/9.549, allocations: 0.795 MB / 3.625 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/9.549, allocations: 5.719 kB / 3.625 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/9.55, allocations: 69.39 kB / 3.625 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/9.551, allocations: 192.7 kB / 3.625 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/9.553, allocations: 2.985 MB / 3.628 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/9.556, allocations: 145.5 kB / 3.628 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/9.556, allocations: 30.59 kB / 3.628 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/9.556, allocations: 3.438 kB / 3.628 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002372/9.558, allocations: 1.114 MB / 3.63 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/9.558, allocations: 4.094 kB / 3.63 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/9.558, allocations: 70.73 kB / 3.63 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/9.559, allocations: 175.8 kB / 3.63 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/9.561, allocations: 1.8 MB / 3.632 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/9.563, allocations: 140.2 kB / 3.632 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-05/9.563, allocations: 31.5 kB / 3.632 GB, free: 133.8 MB / 0.7136 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.0003738/9.563, allocations: 154.7 kB / 3.632 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/9.564, allocations: 117.6 kB / 3.632 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/9.567, allocations: 1.23 MB / 3.633 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/9.567, allocations: 8.062 kB / 3.633 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/9.567, allocations: 1.5 kB / 3.633 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/9.569, allocations: 1.265 MB / 3.634 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/9.574, allocations: 2.875 MB / 3.637 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/9.574, allocations: 3.781 kB / 3.637 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/9.575, allocations: 246.4 kB / 3.637 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/9.575, allocations: 74.33 kB / 3.638 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/9.575, allocations: 18.81 kB / 3.638 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/9.577, allocations: 2.98 MB / 3.64 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/9.577, allocations: 8.859 kB / 3.64 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/9.58, allocations: 2.098 MB / 3.643 GB, free: 130 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/9.581, allocations: 338.7 kB / 3.643 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/9.581, allocations: 23.16 kB / 3.643 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/9.582, allocations: 119.1 kB / 3.643 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/9.582, allocations: 59.36 kB / 3.643 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/9.582, allocations: 33.44 kB / 3.643 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001131/9.583, allocations: 0.7121 MB / 3.644 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/9.583, allocations: 0 / 3.644 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003044/9.587, allocations: 0.8066 MB / 3.645 GB, free: 129.7 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 () * 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.002875/9.589, allocations: 1.347 MB / 3.646 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003324/9.593, allocations: 1.93 MB / 3.648 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/9.593, allocations: 7.031 kB / 3.648 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/9.594, allocations: 0.6733 MB / 3.648 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/9.598, allocations: 0.7861 MB / 3.649 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/9.602, allocations: 2.68 MB / 3.652 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/9.603, allocations: 1.478 MB / 3.653 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002797/9.606, allocations: 1.032 MB / 3.654 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/9.607, allocations: 78.31 kB / 3.654 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/9.607, allocations: 0 / 3.654 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.07845/9.685, allocations: 47.97 MB / 3.701 GB, free: 126.5 MB / 0.7136 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)