Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json 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/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009844, allocations: 98.69 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009937/0.000994, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5739/0.5739, allocations: 95.58 MB / 366 MB, free: 10.39 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005614/0.0005618, allocations: 20 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2697, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4076/0.6773, allocations: 160.9 MB / 0.6621 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.6863, allocations: 5.638 MB / 0.6676 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.6884, allocations: 50.88 kB / 0.6677 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6898, allocations: 466.8 kB / 0.6681 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.694, allocations: 1.369 MB / 0.6694 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.6985, allocations: 1.39 MB / 0.6708 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003144/0.7017, allocations: 1.59 MB / 0.6724 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.7029, allocations: 0.8802 MB / 0.6732 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.7044, allocations: 0.8107 MB / 0.674 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.7053, allocations: 0.6134 MB / 0.6746 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.7054, allocations: 49.56 kB / 0.6747 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.7081, allocations: 1.17 MB / 0.6758 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.7085, allocations: 348.7 kB / 0.6761 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.7088, allocations: 294.1 kB / 0.6764 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.7108, allocations: 1.814 MB / 0.6782 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.7109, allocations: 0 / 0.6782 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7109, allocations: 7.062 kB / 0.6782 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.7109, allocations: 0 / 0.6782 GB, free: 0.8984 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.002738/0.7136, allocations: 1.657 MB / 0.6798 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.7137, allocations: 14.95 kB / 0.6798 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005499/0.7142, allocations: 188.8 kB / 0.68 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.7157, allocations: 0.8986 MB / 0.6809 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.7158, allocations: 85.53 kB / 0.681 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.7159, allocations: 110 kB / 0.6811 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.7178, allocations: 1.233 MB / 0.6823 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.7178, allocations: 2.875 kB / 0.6823 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/0.7179, allocations: 45.56 kB / 0.6823 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.718, allocations: 24.72 kB / 0.6823 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.7197, allocations: 1.087 MB / 0.6834 GB, free: 14.75 MB / 0.4981 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.006471/0.7262, allocations: 5.117 MB / 0.6884 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.7278, allocations: 0.8609 MB / 0.6892 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008312/0.7286, allocations: 0.9651 MB / 0.6902 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.7287, allocations: 40.78 kB / 0.6902 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=71): time 2.375e-06/0.7287, allocations: 2.938 kB / 0.6902 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=77): time 0.005587/0.7343, allocations: 2.545 MB / 0.6927 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.7344, allocations: 115.2 kB / 0.6928 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.7355, allocations: 1.074 MB / 0.6939 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.7356, allocations: 43.92 kB / 0.6939 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.7359, allocations: 0.6018 MB / 0.6945 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.7361, allocations: 271.5 kB / 0.6948 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.7362, allocations: 17.59 kB / 0.6948 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7363, allocations: 350 kB / 0.6951 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.7369, allocations: 346.8 kB / 0.6954 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.7376, allocations: 0.5265 MB / 0.696 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.7383, allocations: 456.3 kB / 0.6964 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7383, allocations: 0 / 0.6964 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001661/0.74, allocations: 1.11 MB / 0.6975 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007532/0.7407, allocations: 1.79 MB / 0.6992 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.7408, allocations: 6.984 kB / 0.6992 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.7408, allocations: 11.03 kB / 0.6992 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.7425, allocations: 320.6 kB / 0.6995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.7438, allocations: 1.39 MB / 0.7009 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.7447, allocations: 101 kB / 0.701 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.7448, allocations: 39.61 kB / 0.701 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.7448, allocations: 4.812 kB / 0.701 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.7461, allocations: 0.9155 MB / 0.7019 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7461, allocations: 5.969 kB / 0.7019 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.7462, allocations: 7.844 kB / 0.7019 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.7478, allocations: 302.4 kB / 0.7022 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.749, allocations: 1.397 MB / 0.7036 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.7498, allocations: 70.03 kB / 0.7037 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.7499, allocations: 37.48 kB / 0.7037 GB, free: 2.531 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (vol1.i_w,PI1.I.local_reset,PI.I.local_reset,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005419/0.7504, allocations: 387.2 kB / 0.7041 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.7506, allocations: 131.2 kB / 0.7042 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.7524, allocations: 0.9669 MB / 0.7051 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7524, allocations: 7.719 kB / 0.7051 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7524, allocations: 7.016 kB / 0.7052 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.7524, allocations: 3.984 kB / 0.7052 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.7556, allocations: 2.07 MB / 0.7072 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7556, allocations: 4 kB / 0.7072 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.7564, allocations: 169.8 kB / 0.7073 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003845/0.7568, allocations: 47.44 kB / 0.7074 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.7569, allocations: 19.88 kB / 0.7074 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.7581, allocations: 1.351 MB / 0.7087 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7581, allocations: 2.906 kB / 0.7087 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.7604, allocations: 1.372 MB / 0.7101 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.761, allocations: 312.3 kB / 0.7104 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.7611, allocations: 17.38 kB / 0.7104 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/0.7619, allocations: 70.5 kB / 0.7105 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.762, allocations: 51.83 kB / 0.7105 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/0.7621, allocations: 30.48 kB / 0.7105 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009091/0.763, allocations: 0.7321 MB / 0.7112 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.763, allocations: 5.906 kB / 0.7113 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001768/0.7648, allocations: 0.6759 MB / 0.7119 GB, free: 13.44 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (81): * Single equations (assignments): 80 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.7659, allocations: 492.6 kB / 0.7124 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003715/0.7696, allocations: 1.568 MB / 0.7139 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.7696, allocations: 4.062 kB / 0.7139 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.7704, allocations: 0.5076 MB / 0.7144 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.7728, allocations: 0.5256 MB / 0.7149 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.7772, allocations: 2.851 MB / 0.7177 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.7779, allocations: 1.193 MB / 0.7189 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001177/0.7791, allocations: 306.4 kB / 0.7192 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.7794, allocations: 89.61 kB / 0.7193 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.7794, allocations: 0 / 0.7193 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of Templates: time 0.03956/0.8189, allocations: 23.95 MB / 0.7426 GB, free: 15.11 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: