Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 103.8 kB / 16.4 MB, free: 6.453 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.001452/0.001452, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002315/0.002315, allocations: 291.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 99.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4824, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6588/1.141, allocations: 214.2 MB / 0.9762 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01046/1.152, allocations: 7.051 MB / 0.9831 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/1.154, allocations: 42.31 kB / 0.9831 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/1.156, allocations: 0.7839 MB / 0.9839 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/1.163, allocations: 2.523 MB / 0.9863 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/1.166, allocations: 1.165 MB / 0.9875 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004125/1.171, allocations: 2.844 MB / 0.9902 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/1.172, allocations: 1.081 MB / 0.9913 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/1.177, allocations: 2.016 MB / 0.9933 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/1.179, allocations: 0.9385 MB / 0.9942 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002773/1.179, allocations: 119.9 kB / 0.9943 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/1.184, allocations: 2.447 MB / 0.9967 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/1.185, allocations: 431.9 kB / 0.9971 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.186, allocations: 0.6873 MB / 0.9978 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004875/1.191, allocations: 2.503 MB / 1 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.191, allocations: 4.406 kB / 1 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/1.191, allocations: 0 / 1 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.829e-05/1.191, allocations: 0 / 1 GB, free: 1.141 MB / 0.7169 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.004526/1.195, allocations: 1.849 MB / 1.002 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.195, allocations: 10.06 kB / 1.002 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/1.198, allocations: 0.5345 MB / 1.003 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/1.2, allocations: 1.008 MB / 1.004 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/1.2, allocations: 67.94 kB / 1.004 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.201, allocations: 83.05 kB / 1.004 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/1.203, allocations: 1.221 MB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.203, allocations: 0.5625 kB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.203, allocations: 36.77 kB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/1.203, allocations: 48.55 kB / 1.005 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/1.206, allocations: 1.526 MB / 1.006 GB, free: 15.73 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.00619/1.213, allocations: 4.035 MB / 1.01 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/1.215, allocations: 0.978 MB / 1.011 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.217, allocations: 0.6533 MB / 1.012 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.218, allocations: 0.6082 MB / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/1.218, allocations: 50.75 kB / 1.013 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.056e-06/1.218, allocations: 1 kB / 1.013 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004872/1.223, allocations: 1.781 MB / 1.014 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.223, allocations: 60.28 kB / 1.014 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.224, allocations: 0.8271 MB / 1.015 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.224, allocations: 40.98 kB / 1.015 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/1.224, allocations: 445.1 kB / 1.016 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.225, allocations: 261.4 kB / 1.016 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/1.225, allocations: 148.2 kB / 1.016 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.225, allocations: 333.9 kB / 1.016 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.226, allocations: 0.5297 MB / 1.017 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.228, allocations: 0.6456 MB / 1.018 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/1.231, allocations: 1.113 MB / 1.019 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.231, allocations: 0 / 1.019 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003367/1.234, allocations: 1.326 MB / 1.02 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/1.234, allocations: 41.03 kB / 1.02 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.234, allocations: 0 / 1.02 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.234, allocations: 10.38 kB / 1.02 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.236, allocations: 258.4 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/1.236, allocations: 1.188 MB / 1.021 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.238, allocations: 143.5 kB / 1.022 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/1.238, allocations: 31.92 kB / 1.022 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001761/1.239, allocations: 0.7538 MB / 1.022 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001472/1.241, allocations: 0.6365 MB / 1.023 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002637/1.244, allocations: 1.11 MB / 1.024 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.856e-06/1.244, allocations: 0 / 1.024 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003302/1.247, allocations: 1.315 MB / 1.025 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/1.247, allocations: 38.55 kB / 1.025 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.247, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/1.247, allocations: 5.094 kB / 1.025 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.248, allocations: 225.6 kB / 1.026 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.248, allocations: 12.61 kB / 1.026 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.25, allocations: 127.7 kB / 1.026 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/1.25, allocations: 34.33 kB / 1.026 GB, free: 10.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 80 * 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.0003318/1.25, allocations: 228.2 kB / 1.026 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/1.25, allocations: 102.1 kB / 1.026 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/1.254, allocations: 1.345 MB / 1.027 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.254, allocations: 8.75 kB / 1.027 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.254, allocations: 2.062 kB / 1.027 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.254, allocations: 2.625 kB / 1.027 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/1.259, allocations: 2.854 MB / 1.03 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.259, allocations: 2.531 kB / 1.03 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.26, allocations: 220.9 kB / 1.03 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.261, allocations: 12.22 kB / 1.03 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/1.261, allocations: 25.58 kB / 1.03 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007543/1.261, allocations: 1.187 MB / 1.032 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.261, allocations: 9.188 kB / 1.032 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/1.265, allocations: 1.448 MB / 1.033 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/1.265, allocations: 310.2 kB / 1.033 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.265, allocations: 15.44 kB / 1.033 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.266, allocations: 103.7 kB / 1.033 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.267, allocations: 68.08 kB / 1.033 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/1.267, allocations: 38.59 kB / 1.033 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007586/1.267, allocations: 0.5711 MB / 1.034 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.267, allocations: 2.812 kB / 1.034 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001415/1.269, allocations: 0.5328 MB / 1.035 GB, free: 7.652 MB / 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 (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.0006284/1.27, allocations: 269.6 kB / 1.035 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005147/1.275, allocations: 2.011 MB / 1.037 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.275, allocations: 5.469 kB / 1.037 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.276, allocations: 0.6583 MB / 1.037 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/1.279, allocations: 0.5087 MB / 1.038 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/1.283, allocations: 2.12 MB / 1.04 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/1.284, allocations: 1.091 MB / 1.041 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/1.284, allocations: 100.4 kB / 1.041 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/1.284, allocations: 0 / 1.041 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of Templates: time 0.03376/1.318, allocations: 26.99 MB / 1.068 GB, free: 9.359 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)