Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001346/0.001346, allocations: 185 kB / 377.1 MB, free: 1.531 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.911/1.911, allocations: 205.4 MB / 0.6367 GB, free: 8.605 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.001047/0.001047, allocations: 98.92 kB / 0.751 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004146, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3361, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.924/6.261, allocations: 2.127 GB / 3.115 GB, free: 54.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/6.261, allocations: 89.05 kB / 3.115 GB, free: 54.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.526/8.787, allocations: 0.6202 GB / 3.735 GB, free: 149.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.143e-06/8.787, allocations: 0 / 3.735 GB, free: 149.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001129/8.787, allocations: 35.19 kB / 3.735 GB, free: 149.2 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00414/8.791, allocations: 1.762 MB / 3.737 GB, free: 147.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/8.791, allocations: 11.69 kB / 3.737 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/8.793, allocations: 365.3 kB / 3.737 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/8.796, allocations: 1.229 MB / 3.739 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/8.796, allocations: 77.78 kB / 3.739 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/8.797, allocations: 105.9 kB / 3.739 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/8.798, allocations: 1.122 MB / 3.74 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/8.799, allocations: 3.938 kB / 3.74 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/8.799, allocations: 43.06 kB / 3.74 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/8.799, allocations: 34.34 kB / 3.74 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/8.8, allocations: 0.8327 MB / 3.741 GB, free: 145.5 MB / 0.948 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.005682/8.806, allocations: 5.139 MB / 3.746 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/8.807, allocations: 0.7455 MB / 3.747 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/8.807, allocations: 312.2 kB / 3.747 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/8.807, allocations: 42 kB / 3.747 GB, free: 140.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/8.807, allocations: 0 / 3.747 GB, free: 140.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001983/8.809, allocations: 1.011 MB / 3.748 GB, free: 139.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/8.81, allocations: 166.1 kB / 3.748 GB, free: 139.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/8.81, allocations: 0.7581 MB / 3.749 GB, free: 139.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/8.81, allocations: 37.36 kB / 3.749 GB, free: 139.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/8.811, allocations: 0.5503 MB / 3.749 GB, free: 138.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/8.811, allocations: 250.7 kB / 3.75 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/8.811, allocations: 15.66 kB / 3.75 GB, free: 138.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/8.811, allocations: 337.9 kB / 3.75 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/8.812, allocations: 274.8 kB / 3.75 GB, free: 138 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/8.812, allocations: 0.5042 MB / 3.751 GB, free: 137.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/8.813, allocations: 331.2 kB / 3.751 GB, free: 137.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/8.813, allocations: 3.531 kB / 3.751 GB, free: 137.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001352/8.814, allocations: 0.8646 MB / 3.752 GB, free: 137 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003672/8.814, allocations: 1.669 MB / 3.753 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/8.814, allocations: 3.844 kB / 3.753 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/8.814, allocations: 11.36 kB / 3.754 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/8.816, allocations: 268.2 kB / 3.754 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/8.817, allocations: 1.42 MB / 3.755 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/8.818, allocations: 118.8 kB / 3.755 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/8.818, allocations: 37.95 kB / 3.755 GB, free: 133.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/8.819, allocations: 3.906 kB / 3.755 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/8.82, allocations: 0.7356 MB / 3.756 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/8.82, allocations: 3.594 kB / 3.756 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/8.82, allocations: 10.44 kB / 3.756 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/8.821, allocations: 260.8 kB / 3.756 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009988/8.822, allocations: 1.411 MB / 3.758 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/8.823, allocations: 128.1 kB / 3.758 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/8.823, allocations: 35.92 kB / 3.758 GB, free: 131.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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.0007212/8.824, allocations: 373.2 kB / 3.758 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/8.824, allocations: 110.5 kB / 3.758 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/8.826, allocations: 0.8474 MB / 3.759 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/8.826, allocations: 6.594 kB / 3.759 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/8.826, allocations: 7.953 kB / 3.759 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/8.827, allocations: 0.7537 MB / 3.76 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/8.831, allocations: 2.015 MB / 3.762 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/8.831, allocations: 0 / 3.762 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/8.831, allocations: 151.8 kB / 3.762 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/8.832, allocations: 53.03 kB / 3.762 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/8.832, allocations: 12 kB / 3.762 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/8.833, allocations: 1.387 MB / 3.763 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/8.833, allocations: 7.969 kB / 3.763 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/8.835, allocations: 1.427 MB / 3.765 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/8.836, allocations: 263.5 kB / 3.765 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/8.836, allocations: 23.94 kB / 3.765 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/8.837, allocations: 75.84 kB / 3.765 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/8.837, allocations: 40.52 kB / 3.765 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/8.837, allocations: 23.98 kB / 3.765 GB, free: 125 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008824/8.838, allocations: 0.5928 MB / 3.766 GB, free: 124.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/8.838, allocations: 4 kB / 3.766 GB, free: 124.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002698/8.841, allocations: 0.7211 MB / 3.766 GB, free: 123.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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 (70): * Single equations (assignments): 69 * 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.003213/8.844, allocations: 1.776 MB / 3.768 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003119/8.847, allocations: 1.193 MB / 3.769 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/8.847, allocations: 0 / 3.769 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/8.848, allocations: 471.2 kB / 3.77 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/8.85, allocations: 0.505 MB / 3.77 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/8.854, allocations: 2.689 MB / 3.773 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/8.855, allocations: 1.159 MB / 3.774 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001172/8.856, allocations: 268.5 kB / 3.774 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/8.856, allocations: 83.42 kB / 3.774 GB, free: 115.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/8.856, allocations: 0 / 3.774 GB, free: 115.4 MB / 0.948 GB Notification: Performance of Templates: time 0.05126/8.907, allocations: 37.91 MB / 3.811 GB, free: 77.62 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)