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.001079/0.001078, allocations: 108 kB / 15.61 MB, free: 152 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.00108/0.001079, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.527/1.527, allocations: 205.1 MB / 222.4 MB, free: 4.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.811/1.811, allocations: 292.3 MB / 0.5488 GB, free: 12.87 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.001546/0.001546, allocations: 73.5 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.7313/0.989, allocations: 214.2 MB / 0.9926 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01249/1.002, allocations: 6.954 MB / 0.9994 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/1.005, allocations: 44.94 kB / 0.9994 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/1.008, allocations: 0.7863 MB / 1 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008478/1.016, allocations: 2.499 MB / 1.003 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/1.02, allocations: 1.161 MB / 1.004 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005528/1.026, allocations: 2.785 MB / 1.006 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/1.028, allocations: 1.09 MB / 1.008 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/1.034, allocations: 1.975 MB / 1.009 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/1.036, allocations: 0.9357 MB / 1.01 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000328/1.037, allocations: 118.6 kB / 1.01 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/1.043, allocations: 2.444 MB / 1.013 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006346/1.043, allocations: 431.5 kB / 1.013 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/1.045, allocations: 0.6833 MB / 1.014 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006239/1.051, allocations: 2.471 MB / 1.016 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.051, allocations: 0 / 1.016 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.335e-06/1.051, allocations: 2.094 kB / 1.016 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.523e-05/1.051, allocations: 0 / 1.016 GB, free: 15.2 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.00512/1.056, allocations: 1.85 MB / 1.018 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.056, allocations: 14.38 kB / 1.018 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/1.059, allocations: 0.5303 MB / 1.019 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/1.061, allocations: 0.9597 MB / 1.02 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006535/1.062, allocations: 180.6 kB / 1.02 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/1.062, allocations: 85.53 kB / 1.02 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/1.065, allocations: 1.234 MB / 1.021 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/1.065, allocations: 3.984 kB / 1.021 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.065, allocations: 31.5 kB / 1.021 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/1.065, allocations: 45.16 kB / 1.021 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/1.069, allocations: 1.554 MB / 1.023 GB, free: 11.27 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.009027/1.078, allocations: 4.087 MB / 1.027 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/1.081, allocations: 0.9961 MB / 1.028 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/1.082, allocations: 0.664 MB / 1.028 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.084, allocations: 0.6091 MB / 1.029 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.084, allocations: 37.31 kB / 1.029 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/1.084, allocations: 2.25 kB / 1.029 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.005239/1.089, allocations: 1.816 MB / 1.031 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.089, allocations: 58.91 kB / 1.031 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.09, allocations: 0.8207 MB / 1.032 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.09, allocations: 43.42 kB / 1.032 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/1.091, allocations: 442.5 kB / 1.032 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.091, allocations: 261.2 kB / 1.032 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/1.091, allocations: 153 kB / 1.032 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.091, allocations: 337.6 kB / 1.033 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.093, allocations: 0.5431 MB / 1.033 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/1.094, allocations: 0.6623 MB / 1.034 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/1.098, allocations: 1.153 MB / 1.035 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.098, allocations: 2.938 kB / 1.035 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003613/1.101, allocations: 1.369 MB / 1.036 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/1.101, allocations: 29.7 kB / 1.036 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.101, allocations: 4 kB / 1.036 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.101, allocations: 8 kB / 1.036 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.103, allocations: 259.7 kB / 1.037 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007223/1.104, allocations: 1.199 MB / 1.038 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.105, allocations: 147.4 kB / 1.038 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/1.105, allocations: 39.97 kB / 1.038 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001936/1.107, allocations: 0.7634 MB / 1.039 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001699/1.109, allocations: 0.6637 MB / 1.039 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002955/1.112, allocations: 1.135 MB / 1.041 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/1.112, allocations: 3.984 kB / 1.041 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003688/1.115, allocations: 1.36 MB / 1.042 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/1.116, allocations: 33.7 kB / 1.042 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.116, allocations: 4.062 kB / 1.042 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.116, allocations: 8 kB / 1.042 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.117, allocations: 231.6 kB / 1.042 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.117, allocations: 7.984 kB / 1.042 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.118, allocations: 139.3 kB / 1.042 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.118, allocations: 35.98 kB / 1.042 GB, free: 11.21 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.0004216/1.119, allocations: 223 kB / 1.043 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/1.119, allocations: 102.7 kB / 1.043 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/1.123, allocations: 1.371 MB / 1.044 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.123, allocations: 11.94 kB / 1.044 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/1.123, allocations: 0 / 1.044 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.123, allocations: 3.984 kB / 1.044 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006628/1.13, allocations: 2.853 MB / 1.047 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.13, allocations: 7.938 kB / 1.047 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.131, allocations: 231.2 kB / 1.047 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/1.131, allocations: 4 kB / 1.047 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/1.131, allocations: 27.98 kB / 1.047 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007461/1.132, allocations: 1.192 MB / 1.048 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.132, allocations: 4 kB / 1.048 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/1.136, allocations: 1.471 MB / 1.05 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008737/1.137, allocations: 311.5 kB / 1.05 GB, free: 3.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/1.137, allocations: 19.94 kB / 1.05 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.138, allocations: 111.9 kB / 1.05 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.139, allocations: 56.5 kB / 1.05 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.139, allocations: 39.91 kB / 1.05 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000992/1.14, allocations: 0.57 MB / 1.051 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.14, allocations: 3.938 kB / 1.051 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002071/1.142, allocations: 0.5302 MB / 1.051 GB, free: 1.855 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.0007021/1.143, allocations: 275.5 kB / 1.051 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006407/1.149, allocations: 2.153 MB / 1.054 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.149, allocations: 0 / 1.054 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.151, allocations: 0.6754 MB / 1.054 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/1.154, allocations: 499.3 kB / 1.055 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/1.16, allocations: 2.101 MB / 1.057 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.161, allocations: 1.094 MB / 1.058 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002089/1.163, allocations: 395.5 kB / 1.058 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/1.163, allocations: 87.39 kB / 1.058 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 1.203e-06/1.163, allocations: 0 / 1.058 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.03884/1.202, allocations: 20.86 MB / 1.079 GB, free: 5.953 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)