Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008454/0.0008454, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009655/0.0009656, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.643/1.643, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005139/0.0005141, allocations: 20.06 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2466, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5878/0.8344, allocations: 176.7 MB / 0.9596 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.8461, allocations: 6.891 MB / 0.9663 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.8484, allocations: 36.81 kB / 0.9664 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.8512, allocations: 0.7219 MB / 0.9671 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009199/0.8604, allocations: 2.114 MB / 0.9691 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.865, allocations: 1.138 MB / 0.9703 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005008/0.87, allocations: 1.621 MB / 0.9718 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.8722, allocations: 0.8143 MB / 0.9726 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.8771, allocations: 1.313 MB / 0.9739 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.8788, allocations: 0.6216 MB / 0.9745 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.879, allocations: 45.38 kB / 0.9746 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/0.8834, allocations: 1.329 MB / 0.9759 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.884, allocations: 316.4 kB / 0.9762 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.8851, allocations: 272 kB / 0.9764 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.8883, allocations: 1.598 MB / 0.978 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8884, allocations: 0.9062 kB / 0.978 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8884, allocations: 0 / 0.978 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.862e-05/0.8885, allocations: 3.938 kB / 0.978 GB, free: 20.59 MB / 0.7325 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.005232/0.8937, allocations: 1.581 MB / 0.9795 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.8938, allocations: 9.719 kB / 0.9795 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.8971, allocations: 0.5961 MB / 0.9801 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.8992, allocations: 0.9134 MB / 0.981 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006263/0.8999, allocations: 207.4 kB / 0.9812 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.9001, allocations: 86.33 kB / 0.9813 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.903, allocations: 1.254 MB / 0.9825 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.9031, allocations: 3.984 kB / 0.9825 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.9032, allocations: 33.17 kB / 0.9826 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.9033, allocations: 47.08 kB / 0.9826 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003871/0.9072, allocations: 1.613 MB / 0.9842 GB, free: 18.62 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.008067/0.9152, allocations: 4.085 MB / 0.9882 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.9179, allocations: 1.069 MB / 0.9892 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007532/0.9187, allocations: 297.5 kB / 0.9895 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.9187, allocations: 42.97 kB / 0.9895 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.838e-06/0.9187, allocations: 0 / 0.9895 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004997/0.9237, allocations: 1.908 MB / 0.9914 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.9238, allocations: 61 kB / 0.9915 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.9252, allocations: 0.8082 MB / 0.9922 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.9253, allocations: 43.89 kB / 0.9923 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.9257, allocations: 454.3 kB / 0.9927 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.926, allocations: 255.5 kB / 0.993 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.9261, allocations: 15.22 kB / 0.993 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9262, allocations: 333.3 kB / 0.9933 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.9276, allocations: 0.5653 MB / 0.9939 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.929, allocations: 0.6912 MB / 0.9945 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.9305, allocations: 0.6216 MB / 0.9951 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.9305, allocations: 3.953 kB / 0.9951 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003282/0.9338, allocations: 1.426 MB / 0.9965 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.9341, allocations: 0.5677 MB / 0.9971 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9342, allocations: 0 / 0.9971 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.9342, allocations: 6.125 kB / 0.9971 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.9357, allocations: 280.2 kB / 0.9974 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007407/0.9365, allocations: 1.201 MB / 0.9985 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.938, allocations: 196 kB / 0.9987 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9381, allocations: 35.92 kB / 0.9988 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.9381, allocations: 5.281 kB / 0.9988 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003131/0.9413, allocations: 1.316 MB / 1 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9413, allocations: 0 / 1 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.9413, allocations: 5.75 kB / 1 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.9425, allocations: 252.4 kB / 1 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.9425, allocations: 5.75 kB / 1 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9439, allocations: 198.3 kB / 1 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.944, allocations: 36.58 kB / 1.001 GB, free: 11.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007797/0.9448, allocations: 377.9 kB / 1.001 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.9451, allocations: 103.3 kB / 1.001 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.9486, allocations: 1.428 MB / 1.002 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.9486, allocations: 9 kB / 1.002 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9487, allocations: 0 / 1.002 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.9487, allocations: 3.984 kB / 1.002 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.9552, allocations: 2.983 MB / 1.005 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.9553, allocations: 6.094 kB / 1.005 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.9565, allocations: 247 kB / 1.006 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/0.9566, allocations: 7.688 kB / 1.006 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.9567, allocations: 34.88 kB / 1.006 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.9574, allocations: 1.188 MB / 1.007 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.9574, allocations: 8.281 kB / 1.007 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.9611, allocations: 1.748 MB / 1.008 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.962, allocations: 317.4 kB / 1.009 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.9623, allocations: 15.69 kB / 1.009 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.9639, allocations: 167.2 kB / 1.009 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.9641, allocations: 60.52 kB / 1.009 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.9642, allocations: 36.03 kB / 1.009 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001023/0.9652, allocations: 0.5619 MB / 1.01 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.643e-06/0.9652, allocations: 3.938 kB / 1.01 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002137/0.9674, allocations: 0.53 MB / 1.01 GB, free: 6.672 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008075/0.9682, allocations: 278.3 kB / 1.01 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005719/0.9739, allocations: 2.145 MB / 1.012 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.974, allocations: 0 / 1.012 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.9757, allocations: 0.7166 MB / 1.013 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.9787, allocations: 0.4996 MB / 1.014 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.9843, allocations: 2.487 MB / 1.016 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/0.9853, allocations: 1.115 MB / 1.017 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001919/0.9872, allocations: 399.5 kB / 1.018 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.9876, allocations: 83.41 kB / 1.018 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.9876, allocations: 0 / 1.018 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of Templates: time 0.03809/1.026, allocations: 19.41 MB / 1.037 GB, free: 15.59 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: