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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001205/0.001205, allocations: 196.2 kB / 16.14 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.497/1.497, allocations: 205.1 MB / 222 MB, free: 4.773 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.796/1.796, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001315/0.001315, allocations: 66.09 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2785, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.8211/1.1, allocations: 212.1 MB / 0.9898 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01092/1.111, allocations: 7.041 MB / 0.9966 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/1.113, allocations: 38.41 kB / 0.9967 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/1.115, allocations: 0.658 MB / 0.9973 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007535/1.123, allocations: 2.338 MB / 0.9996 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/1.126, allocations: 1.051 MB / 1.001 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00742/1.134, allocations: 3.729 MB / 1.004 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/1.136, allocations: 0.9192 MB / 1.005 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006074/1.142, allocations: 1.789 MB / 1.007 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/1.145, allocations: 0.9468 MB / 1.008 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005276/1.146, allocations: 70 kB / 1.008 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00627/1.152, allocations: 2.817 MB / 1.011 GB, free: 448 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009322/1.153, allocations: 370.1 kB / 1.011 GB, free: 304 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/1.155, allocations: 0.6316 MB / 1.012 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007103/1.162, allocations: 2.552 MB / 1.014 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.162, allocations: 3.984 kB / 1.014 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.112e-06/1.162, allocations: 0 / 1.014 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.818e-05/1.162, allocations: 2.094 kB / 1.014 GB, free: 14.86 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.006623/1.169, allocations: 1.844 MB / 1.016 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.169, allocations: 14.19 kB / 1.016 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/1.173, allocations: 0.5391 MB / 1.016 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/1.175, allocations: 0.9562 MB / 1.017 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006406/1.176, allocations: 174.3 kB / 1.018 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/1.176, allocations: 94.19 kB / 1.018 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/1.18, allocations: 1.229 MB / 1.019 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.18, allocations: 0 / 1.019 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/1.18, allocations: 38.12 kB / 1.019 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/1.18, allocations: 44.67 kB / 1.019 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/1.184, allocations: 1.554 MB / 1.02 GB, free: 10.92 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.008965/1.193, allocations: 4.045 MB / 1.024 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/1.195, allocations: 0.9941 MB / 1.025 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/1.197, allocations: 0.6726 MB / 1.026 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/1.198, allocations: 0.6023 MB / 1.027 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.198, allocations: 45.39 kB / 1.027 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.677e-06/1.198, allocations: 2.875 kB / 1.027 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.00538/1.204, allocations: 1.812 MB / 1.028 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.204, allocations: 58.94 kB / 1.028 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.206, allocations: 0.8245 MB / 1.029 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/1.206, allocations: 38.95 kB / 1.029 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/1.206, allocations: 442 kB / 1.03 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.207, allocations: 262.7 kB / 1.03 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003776/1.207, allocations: 154.9 kB / 1.03 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.207, allocations: 340.2 kB / 1.03 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.209, allocations: 0.5438 MB / 1.031 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.21, allocations: 0.662 MB / 1.032 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/1.213, allocations: 1.153 MB / 1.033 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.213, allocations: 0 / 1.033 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00359/1.217, allocations: 1.358 MB / 1.034 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/1.217, allocations: 37.83 kB / 1.034 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.217, allocations: 7.938 kB / 1.034 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/1.217, allocations: 5.344 kB / 1.034 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.219, allocations: 267.4 kB / 1.034 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007586/1.219, allocations: 1.194 MB / 1.036 GB, free: 444 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.221, allocations: 174.3 kB / 1.036 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.221, allocations: 35.75 kB / 1.036 GB, free: 340 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00216/1.223, allocations: 0.762 MB / 1.037 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001668/1.225, allocations: 0.6688 MB / 1.037 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003055/1.228, allocations: 1.137 MB / 1.038 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.444e-06/1.228, allocations: 2.906 kB / 1.038 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003532/1.231, allocations: 1.353 MB / 1.04 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/1.231, allocations: 33.08 kB / 1.04 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.231, allocations: 2.719 kB / 1.04 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.232, allocations: 6.594 kB / 1.04 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.233, allocations: 237.6 kB / 1.04 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.233, allocations: 6.844 kB / 1.04 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.234, allocations: 167.9 kB / 1.04 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.234, allocations: 31.52 kB / 1.04 GB, free: 14.05 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.0003425/1.235, allocations: 219.8 kB / 1.04 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/1.235, allocations: 105.8 kB / 1.04 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/1.239, allocations: 1.366 MB / 1.042 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.239, allocations: 8 kB / 1.042 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.239, allocations: 0 / 1.042 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.239, allocations: 3.984 kB / 1.042 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006202/1.245, allocations: 2.86 MB / 1.045 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.245, allocations: 7.938 kB / 1.045 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.247, allocations: 227.7 kB / 1.045 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/1.247, allocations: 8 kB / 1.045 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/1.247, allocations: 31.91 kB / 1.045 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/1.247, allocations: 1.192 MB / 1.046 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.247, allocations: 7.938 kB / 1.046 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/1.251, allocations: 1.467 MB / 1.047 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/1.252, allocations: 311.5 kB / 1.048 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/1.252, allocations: 19.94 kB / 1.048 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.253, allocations: 147.7 kB / 1.048 GB, free: 6.426 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.254, allocations: 56.44 kB / 1.048 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.254, allocations: 43.91 kB / 1.048 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009262/1.255, allocations: 0.57 MB / 1.049 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/1.255, allocations: 0 / 1.049 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001909/1.257, allocations: 0.5341 MB / 1.049 GB, free: 5.211 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.0007424/1.257, allocations: 268.8 kB / 1.049 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00526/1.263, allocations: 2.045 MB / 1.051 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.263, allocations: 4 kB / 1.051 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.264, allocations: 0.6637 MB / 1.052 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/1.267, allocations: 0.5109 MB / 1.052 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/1.272, allocations: 2.512 MB / 1.055 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.273, allocations: 1.094 MB / 1.056 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00193/1.275, allocations: 391.5 kB / 1.056 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/1.275, allocations: 91.39 kB / 1.056 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/1.275, allocations: 0 / 1.056 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.03764/1.313, allocations: 20.12 MB / 1.076 GB, free: 9.719 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)