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.001194/0.001194, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.844/1.844, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001431/0.001431, allocations: 71.11 kB / 0.6722 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2399, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.761/1.001, allocations: 214.2 MB / 0.9933 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01275/1.014, allocations: 6.946 MB / 1 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/1.016, allocations: 45.16 kB / 1 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/1.019, allocations: 0.7882 MB / 1.001 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007751/1.027, allocations: 2.495 MB / 1.003 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/1.03, allocations: 1.174 MB / 1.005 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004377/1.034, allocations: 2.793 MB / 1.007 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/1.036, allocations: 1.085 MB / 1.008 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005219/1.041, allocations: 1.988 MB / 1.01 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/1.044, allocations: 0.9456 MB / 1.011 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/1.044, allocations: 125.8 kB / 1.011 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005673/1.05, allocations: 2.446 MB / 1.014 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005392/1.05, allocations: 425.2 kB / 1.014 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/1.052, allocations: 0.6913 MB / 1.015 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005155/1.057, allocations: 2.493 MB / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.057, allocations: 3 kB / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.973e-06/1.057, allocations: 0 / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.057, allocations: 0 / 1.017 GB, free: 15.25 MB / 0.7481 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.00492/1.062, allocations: 1.849 MB / 1.019 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.062, allocations: 10.19 kB / 1.019 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/1.065, allocations: 0.5332 MB / 1.02 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/1.067, allocations: 1.005 MB / 1.02 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/1.067, allocations: 65.25 kB / 1.021 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.067, allocations: 85.94 kB / 1.021 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/1.07, allocations: 1.225 MB / 1.022 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.07, allocations: 3.938 kB / 1.022 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.902e-05/1.07, allocations: 31.78 kB / 1.022 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/1.07, allocations: 49.27 kB / 1.022 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/1.073, allocations: 1.523 MB / 1.023 GB, free: 11.36 MB / 0.7481 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.006729/1.08, allocations: 4.043 MB / 1.027 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/1.082, allocations: 0.9775 MB / 1.028 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/1.084, allocations: 0.6523 MB / 1.029 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.085, allocations: 0.6135 MB / 1.03 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.085, allocations: 41.5 kB / 1.03 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.916e-06/1.085, allocations: 2.406 kB / 1.03 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004575/1.089, allocations: 1.782 MB / 1.031 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/1.09, allocations: 59.5 kB / 1.031 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.091, allocations: 0.8206 MB / 1.032 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/1.091, allocations: 45.08 kB / 1.032 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/1.091, allocations: 442.6 kB / 1.033 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.091, allocations: 260.2 kB / 1.033 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/1.092, allocations: 157 kB / 1.033 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.092, allocations: 337.3 kB / 1.033 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.093, allocations: 0.5287 MB / 1.034 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.094, allocations: 0.6601 MB / 1.035 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/1.097, allocations: 1.13 MB / 1.036 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.097, allocations: 3.938 kB / 1.036 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003291/1.1, allocations: 1.34 MB / 1.037 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/1.101, allocations: 29.7 kB / 1.037 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.101, allocations: 4 kB / 1.037 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.101, allocations: 7.938 kB / 1.037 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.102, allocations: 255.7 kB / 1.037 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007248/1.103, allocations: 1.199 MB / 1.038 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.104, allocations: 151.3 kB / 1.039 GB, free: 76 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.104, allocations: 31.98 kB / 1.039 GB, free: 44 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001787/1.106, allocations: 0.7516 MB / 1.039 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/1.107, allocations: 0.652 MB / 1.04 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002607/1.11, allocations: 1.125 MB / 1.041 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/1.11, allocations: 0 / 1.041 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00324/1.113, allocations: 1.332 MB / 1.042 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/1.113, allocations: 41.62 kB / 1.042 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.113, allocations: 0 / 1.042 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/1.113, allocations: 8 kB / 1.042 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.115, allocations: 227.8 kB / 1.043 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/1.115, allocations: 11.98 kB / 1.043 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.116, allocations: 131.3 kB / 1.043 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/1.116, allocations: 31.98 kB / 1.043 GB, free: 11.66 MB / 0.7637 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004706/1.117, allocations: 230.9 kB / 1.043 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/1.117, allocations: 106.7 kB / 1.043 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/1.121, allocations: 1.338 MB / 1.044 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.121, allocations: 8 kB / 1.044 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.121, allocations: 0 / 1.044 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.121, allocations: 3.984 kB / 1.044 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/1.128, allocations: 2.833 MB / 1.047 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.128, allocations: 8 kB / 1.047 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.129, allocations: 229.9 kB / 1.047 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/1.129, allocations: 8.094 kB / 1.047 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/1.129, allocations: 23.98 kB / 1.047 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006315/1.13, allocations: 1.191 MB / 1.049 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.13, allocations: 11.92 kB / 1.049 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/1.133, allocations: 1.451 MB / 1.05 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/1.134, allocations: 307.5 kB / 1.05 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/1.135, allocations: 20 kB / 1.05 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.136, allocations: 111.8 kB / 1.05 GB, free: 3.574 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.136, allocations: 52.44 kB / 1.051 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.136, allocations: 39.97 kB / 1.051 GB, free: 3.484 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001084/1.137, allocations: 0.5661 MB / 1.051 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/1.137, allocations: 0 / 1.051 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0023/1.14, allocations: 0.5419 MB / 1.052 GB, free: 2.363 MB / 0.7637 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009143/1.141, allocations: 272.8 kB / 1.052 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005432/1.146, allocations: 2.028 MB / 1.054 GB, free: 60 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.146, allocations: 0 / 1.054 GB, free: 60 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.148, allocations: 0.6675 MB / 1.055 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.15, allocations: 0.4912 MB / 1.055 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/1.155, allocations: 2.06 MB / 1.057 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/1.156, allocations: 1.091 MB / 1.058 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001585/1.158, allocations: 395.5 kB / 1.058 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/1.158, allocations: 87.41 kB / 1.059 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of SimCode: time 1.774e-06/1.158, allocations: 0 / 1.059 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.03826/1.197, allocations: 20.84 MB / 1.079 GB, free: 6.648 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (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)