Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008952, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001162/0.001162, allocations: 168.7 kB / 15.95 MB, free: 204 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.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0006437/0.0006439, allocations: 18.38 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2447, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.6548/0.8996, allocations: 195.2 MB / 0.9779 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009684/0.9094, allocations: 6.546 MB / 0.9843 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.9113, allocations: 35.94 kB / 0.9843 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.913, allocations: 0.495 MB / 0.9848 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.9186, allocations: 1.772 MB / 0.9865 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.9218, allocations: 0.9073 MB / 0.9874 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005082/0.9268, allocations: 3.176 MB / 0.9905 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.9283, allocations: 0.7876 MB / 0.9913 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/0.9324, allocations: 1.526 MB / 0.9928 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.9339, allocations: 0.8642 MB / 0.9936 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.9341, allocations: 45.62 kB / 0.9937 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.9379, allocations: 1.562 MB / 0.9952 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.9383, allocations: 349.6 kB / 0.9955 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.9387, allocations: 273.5 kB / 0.9958 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.9411, allocations: 1.708 MB / 0.9975 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9411, allocations: 0 / 0.9975 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9411, allocations: 0 / 0.9975 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.239e-05/0.9411, allocations: 4 kB / 0.9975 GB, free: 14.84 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004981/0.9461, allocations: 1.61 MB / 0.999 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.9462, allocations: 11.22 kB / 0.999 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/0.9492, allocations: 0.5937 MB / 0.9996 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.9509, allocations: 0.9227 MB / 1.001 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005851/0.9515, allocations: 200.8 kB / 1.001 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.9517, allocations: 82.5 kB / 1.001 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.9542, allocations: 1.263 MB / 1.002 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.9542, allocations: 3.984 kB / 1.002 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/0.9543, allocations: 31.84 kB / 1.002 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.9544, allocations: 49.39 kB / 1.002 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.9577, allocations: 1.613 MB / 1.004 GB, free: 12.3 MB / 0.7325 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.006246/0.9639, allocations: 4.088 MB / 1.008 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.9661, allocations: 1.052 MB / 1.009 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.9674, allocations: 0.6904 MB / 1.009 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.9685, allocations: 0.6435 MB / 1.01 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.9685, allocations: 41.34 kB / 1.01 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.9685, allocations: 0 / 1.01 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004545/0.9731, allocations: 1.915 MB / 1.012 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.9731, allocations: 60.78 kB / 1.012 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.9742, allocations: 0.8176 MB / 1.013 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.9743, allocations: 42.33 kB / 1.013 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.9747, allocations: 441.5 kB / 1.013 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.9749, allocations: 262.8 kB / 1.013 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.975, allocations: 14.12 kB / 1.013 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9751, allocations: 337 kB / 1.014 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.9765, allocations: 0.5603 MB / 1.014 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.9778, allocations: 0.6967 MB / 1.015 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.9792, allocations: 0.6201 MB / 1.016 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9792, allocations: 2.906 kB / 1.016 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003167/0.9824, allocations: 1.422 MB / 1.017 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.9825, allocations: 153.7 kB / 1.017 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9825, allocations: 0 / 1.017 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.9826, allocations: 5.031 kB / 1.017 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.984, allocations: 279.5 kB / 1.017 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/0.9848, allocations: 1.193 MB / 1.019 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9862, allocations: 202.6 kB / 1.019 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.9863, allocations: 38.94 kB / 1.019 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.9863, allocations: 2.906 kB / 1.019 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002888/0.9892, allocations: 1.317 MB / 1.02 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9893, allocations: 0 / 1.02 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.9893, allocations: 5.844 kB / 1.02 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.9904, allocations: 254.7 kB / 1.02 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.9904, allocations: 6.922 kB / 1.02 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.9917, allocations: 201.2 kB / 1.021 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/0.9918, allocations: 35.22 kB / 1.021 GB, free: 4.555 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000803/0.9926, allocations: 367.9 kB / 1.021 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.993, allocations: 104.8 kB / 1.021 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.9966, allocations: 1.433 MB / 1.022 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.9966, allocations: 8.188 kB / 1.022 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.9966, allocations: 7.984 kB / 1.022 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.9966, allocations: 3.953 kB / 1.022 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/1.003, allocations: 2.913 MB / 1.025 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.003, allocations: 3.438 kB / 1.025 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.004, allocations: 254.5 kB / 1.026 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.004, allocations: 10.16 kB / 1.026 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/1.004, allocations: 25.98 kB / 1.026 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006998/1.005, allocations: 1.191 MB / 1.027 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.005, allocations: 7.469 kB / 1.027 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.008, allocations: 1.535 MB / 1.028 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/1.009, allocations: 316.4 kB / 1.029 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/1.009, allocations: 15.62 kB / 1.029 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.011, allocations: 158.2 kB / 1.029 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.011, allocations: 66.06 kB / 1.029 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/1.011, allocations: 35.53 kB / 1.029 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008711/1.012, allocations: 0.5555 MB / 1.029 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.362e-06/1.012, allocations: 0 / 1.029 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001781/1.013, allocations: 0.547 MB / 1.03 GB, free: 304 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * 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 (76): * Single equations (assignments): 74 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0006858/1.014, allocations: 276.2 kB / 1.03 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005374/1.02, allocations: 2.14 MB / 1.032 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.02, allocations: 0 / 1.032 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.021, allocations: 0.7059 MB / 1.033 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.024, allocations: 0.517 MB / 1.033 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/1.029, allocations: 2.479 MB / 1.036 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/1.03, allocations: 1.088 MB / 1.037 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001848/1.032, allocations: 399.5 kB / 1.037 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/1.032, allocations: 86.72 kB / 1.037 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of SimCode: time 6.62e-07/1.032, allocations: 0 / 1.037 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of Templates: time 0.03523/1.068, allocations: 19.44 MB / 1.056 GB, free: 6.387 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: