Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00761/0.00761, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001223/0.001223, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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.001509/0.001509, allocations: 71.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2786, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9118/1.19, allocations: 214.5 MB / 1.038 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01238/1.203, allocations: 7.077 MB / 1.044 GB, free: 15.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/1.205, allocations: 43.75 kB / 1.044 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/1.208, allocations: 0.792 MB / 1.045 GB, free: 14.19 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007567/1.216, allocations: 2.641 MB / 1.048 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/1.219, allocations: 1.18 MB / 1.049 GB, free: 10.37 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004242/1.223, allocations: 2.794 MB / 1.052 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.225, allocations: 1.087 MB / 1.053 GB, free: 6.457 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004181/1.229, allocations: 1.841 MB / 1.055 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/1.232, allocations: 0.9856 MB / 1.056 GB, free: 3.629 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003044/1.232, allocations: 120 kB / 1.056 GB, free: 3.512 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005331/1.237, allocations: 2.452 MB / 1.058 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000654/1.238, allocations: 430.6 kB / 1.058 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.239, allocations: 0.6844 MB / 1.059 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005826/1.245, allocations: 2.5 MB / 1.062 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.245, allocations: 4 kB / 1.062 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.216e-06/1.245, allocations: 0 / 1.062 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.013e-05/1.245, allocations: 0 / 1.062 GB, free: 13.44 MB / 0.8106 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.005313/1.25, allocations: 1.84 MB / 1.063 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.25, allocations: 8.031 kB / 1.063 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/1.254, allocations: 0.5481 MB / 1.064 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/1.256, allocations: 1.003 MB / 1.065 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/1.256, allocations: 66 kB / 1.065 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/1.256, allocations: 95.86 kB / 1.065 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/1.259, allocations: 1.225 MB / 1.066 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.259, allocations: 0 / 1.066 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.259, allocations: 32 kB / 1.066 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/1.259, allocations: 41.98 kB / 1.066 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/1.263, allocations: 1.53 MB / 1.068 GB, free: 6.945 MB / 0.8106 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.00723/1.27, allocations: 4.033 MB / 1.072 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.273, allocations: 0.9774 MB / 1.073 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/1.275, allocations: 0.6629 MB / 1.073 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.276, allocations: 0.6048 MB / 1.074 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.276, allocations: 43.2 kB / 1.074 GB, free: 224 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 2.335e-06/1.276, allocations: 4 kB / 1.074 GB, free: 220 kB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.00505/1.281, allocations: 1.781 MB / 1.076 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/1.281, allocations: 64 kB / 1.076 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.282, allocations: 0.8193 MB / 1.077 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.282, allocations: 45.7 kB / 1.077 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/1.283, allocations: 436.6 kB / 1.077 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/1.283, allocations: 268 kB / 1.077 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/1.283, allocations: 150.5 kB / 1.077 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.283, allocations: 334 kB / 1.078 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.285, allocations: 0.5355 MB / 1.078 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/1.286, allocations: 0.6559 MB / 1.079 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/1.289, allocations: 1.123 MB / 1.08 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.289, allocations: 4 kB / 1.08 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003595/1.293, allocations: 1.349 MB / 1.081 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/1.293, allocations: 37.77 kB / 1.081 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/1.293, allocations: 4 kB / 1.081 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.293, allocations: 4 kB / 1.081 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.295, allocations: 249.2 kB / 1.082 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007457/1.296, allocations: 1.199 MB / 1.083 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.297, allocations: 143.4 kB / 1.083 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.297, allocations: 35.98 kB / 1.083 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001823/1.299, allocations: 0.7556 MB / 1.084 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/1.3, allocations: 0.652 MB / 1.084 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002962/1.303, allocations: 1.121 MB / 1.085 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.581e-06/1.303, allocations: 4 kB / 1.085 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003544/1.307, allocations: 1.333 MB / 1.087 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.307, allocations: 37.7 kB / 1.087 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.307, allocations: 7.922 kB / 1.087 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.307, allocations: 7.938 kB / 1.087 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.308, allocations: 227.8 kB / 1.087 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.308, allocations: 7.938 kB / 1.087 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.31, allocations: 135.3 kB / 1.087 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/1.31, allocations: 39.97 kB / 1.087 GB, free: 2.426 MB / 0.8262 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.0004111/1.31, allocations: 216.7 kB / 1.087 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/1.311, allocations: 106.7 kB / 1.087 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/1.314, allocations: 1.344 MB / 1.089 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.314, allocations: 8 kB / 1.089 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.315, allocations: 0 / 1.089 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.315, allocations: 3.984 kB / 1.089 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/1.32, allocations: 2.835 MB / 1.092 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.32, allocations: 8.062 kB / 1.092 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.322, allocations: 231.7 kB / 1.092 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/1.322, allocations: 8 kB / 1.092 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/1.322, allocations: 23.92 kB / 1.092 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006468/1.322, allocations: 1.196 MB / 1.093 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.322, allocations: 7.938 kB / 1.093 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/1.326, allocations: 1.443 MB / 1.094 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/1.326, allocations: 311.5 kB / 1.095 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/1.327, allocations: 16 kB / 1.095 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.328, allocations: 107.9 kB / 1.095 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.328, allocations: 60.38 kB / 1.095 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/1.328, allocations: 35.97 kB / 1.095 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007589/1.329, allocations: 0.57 MB / 1.095 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.329, allocations: 0 / 1.095 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001416/1.33, allocations: 0.5302 MB / 1.096 GB, free: 9.125 MB / 0.8419 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.0007124/1.331, allocations: 279.5 kB / 1.096 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005311/1.336, allocations: 2.03 MB / 1.098 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.336, allocations: 0 / 1.098 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.338, allocations: 0.6636 MB / 1.099 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.341, allocations: 0.4893 MB / 1.099 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/1.345, allocations: 2.057 MB / 1.101 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/1.346, allocations: 1.098 MB / 1.102 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001431/1.347, allocations: 391.5 kB / 1.103 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/1.347, allocations: 87.39 kB / 1.103 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of SimCode: time 2.284e-06/1.347, allocations: 0 / 1.103 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of Templates: time 0.03413/1.382, allocations: 20.97 MB / 1.123 GB, free: 13.25 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)