Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00134/0.00134, allocations: 121.5 kB / 17.09 MB, free: 6.012 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.00136/0.001361, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7569/0.7569, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.55 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6444/0.8046, allocations: 214.2 MB / 0.8419 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.8164, allocations: 7.043 MB / 0.8487 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.8188, allocations: 48.19 kB / 0.8488 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.8213, allocations: 0.7845 MB / 0.8496 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007176/0.8285, allocations: 2.52 MB / 0.852 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.8319, allocations: 1.173 MB / 0.8532 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004482/0.8364, allocations: 2.828 MB / 0.8559 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.8381, allocations: 1.075 MB / 0.857 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.8428, allocations: 2.01 MB / 0.8589 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.845, allocations: 0.958 MB / 0.8599 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.8454, allocations: 116 kB / 0.86 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005093/0.8505, allocations: 2.448 MB / 0.8624 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.8512, allocations: 430.7 kB / 0.8628 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.8527, allocations: 0.6882 MB / 0.8635 GB, free: 176 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.8581, allocations: 2.489 MB / 0.8659 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8581, allocations: 0 / 0.8659 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8581, allocations: 0 / 0.8659 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.359e-05/0.8582, allocations: 0 / 0.8659 GB, free: 13.68 MB / 0.6231 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.005591/0.8638, allocations: 1.848 MB / 0.8677 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8639, allocations: 8.031 kB / 0.8677 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/0.8672, allocations: 0.5369 MB / 0.8682 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.8694, allocations: 1.004 MB / 0.8692 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.8695, allocations: 73.86 kB / 0.8693 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.8697, allocations: 84 kB / 0.8694 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.8727, allocations: 1.221 MB / 0.8705 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.8727, allocations: 0 / 0.8705 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.8729, allocations: 36 kB / 0.8706 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.8729, allocations: 45.98 kB / 0.8706 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/0.8768, allocations: 1.526 MB / 0.8721 GB, free: 7.184 MB / 0.6231 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.006947/0.8837, allocations: 4.025 MB / 0.876 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.8862, allocations: 0.9783 MB / 0.877 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.8877, allocations: 0.6551 MB / 0.8776 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.8888, allocations: 0.6126 MB / 0.8782 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.8889, allocations: 43.22 kB / 0.8783 GB, free: 476 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.455e-06/0.8889, allocations: 0 / 0.8783 GB, free: 476 kB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004971/0.8939, allocations: 1.785 MB / 0.88 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.8939, allocations: 60.06 kB / 0.8801 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.8952, allocations: 0.8154 MB / 0.8809 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.8953, allocations: 45.7 kB / 0.8809 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.8957, allocations: 444.5 kB / 0.8813 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.896, allocations: 268.1 kB / 0.8816 GB, free: 13 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.8963, allocations: 150.5 kB / 0.8817 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8965, allocations: 337.9 kB / 0.8821 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.8979, allocations: 0.5277 MB / 0.8826 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.8994, allocations: 0.6433 MB / 0.8832 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.9023, allocations: 1.123 MB / 0.8843 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9023, allocations: 0 / 0.8843 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003457/0.9058, allocations: 1.329 MB / 0.8856 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.9058, allocations: 41.69 kB / 0.8856 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9059, allocations: 0 / 0.8856 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.9059, allocations: 4 kB / 0.8856 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.9075, allocations: 249.3 kB / 0.8859 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007842/0.9083, allocations: 1.188 MB / 0.887 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.9095, allocations: 147.4 kB / 0.8872 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.9096, allocations: 35.95 kB / 0.8872 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001808/0.9114, allocations: 0.7478 MB / 0.888 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/0.9129, allocations: 0.6433 MB / 0.8886 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002712/0.9157, allocations: 1.111 MB / 0.8897 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.9157, allocations: 0 / 0.8897 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003277/0.919, allocations: 1.314 MB / 0.8909 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.919, allocations: 33.7 kB / 0.891 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.919, allocations: 0 / 0.891 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.919, allocations: 7.938 kB / 0.891 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.9202, allocations: 227.8 kB / 0.8912 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.9202, allocations: 7.984 kB / 0.8912 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.9214, allocations: 127.5 kB / 0.8913 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.9215, allocations: 31.97 kB / 0.8914 GB, free: 2.797 MB / 0.6387 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.0003112/0.9218, allocations: 228 kB / 0.8916 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.9221, allocations: 110.6 kB / 0.8917 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.9255, allocations: 1.344 MB / 0.893 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.9256, allocations: 8 kB / 0.893 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9256, allocations: 0 / 0.893 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.9256, allocations: 3.984 kB / 0.893 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/0.9311, allocations: 2.851 MB / 0.8958 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.9312, allocations: 4 kB / 0.8958 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.9324, allocations: 223.7 kB / 0.896 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.9324, allocations: 8 kB / 0.896 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/0.9325, allocations: 31.92 kB / 0.896 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.9331, allocations: 1.18 MB / 0.8972 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.9331, allocations: 15.88 kB / 0.8972 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.9363, allocations: 1.459 MB / 0.8986 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.9368, allocations: 307.5 kB / 0.8989 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.937, allocations: 20 kB / 0.899 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9381, allocations: 99.89 kB / 0.899 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.9382, allocations: 68.36 kB / 0.8991 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.9383, allocations: 35.97 kB / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007403/0.939, allocations: 0.5661 MB / 0.8997 GB, free: 10 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9391, allocations: 0 / 0.8997 GB, free: 10 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001315/0.9404, allocations: 0.5341 MB / 0.9002 GB, free: 9.465 MB / 0.6544 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.0005854/0.941, allocations: 271 kB / 0.9005 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005133/0.9461, allocations: 2.014 MB / 0.9024 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.9461, allocations: 0 / 0.9024 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.9478, allocations: 0.6559 MB / 0.9031 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.9503, allocations: 0.5014 MB / 0.9036 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.9545, allocations: 2.127 MB / 0.9057 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.9552, allocations: 1.087 MB / 0.9067 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.9556, allocations: 103.4 kB / 0.9068 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.9557, allocations: 4 kB / 0.9068 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of Templates: time 0.0319/0.9876, allocations: 26.82 MB / 0.933 GB, free: 7.855 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)