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.001196/0.001196, allocations: 89.62 kB / 16.67 MB, free: 6.598 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.00148/0.00148, allocations: 185.6 kB / 17.58 MB, free: 6.188 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.512/1.512, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7235/0.7235, allocations: 115.5 MB / 408.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.000338, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4341, allocations: 77.52 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6175/1.052, allocations: 209.2 MB / 0.7648 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01202/1.064, allocations: 7.075 MB / 0.7717 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/1.066, allocations: 35.69 kB / 0.7718 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/1.068, allocations: 0.6568 MB / 0.7724 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008317/1.076, allocations: 2.364 MB / 0.7747 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/1.08, allocations: 1.049 MB / 0.7758 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006303/1.087, allocations: 3.754 MB / 0.7794 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/1.088, allocations: 0.8999 MB / 0.7803 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005307/1.094, allocations: 1.759 MB / 0.782 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/1.097, allocations: 0.9104 MB / 0.7829 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/1.097, allocations: 49.81 kB / 0.783 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006779/1.104, allocations: 2.795 MB / 0.7857 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006904/1.105, allocations: 350.2 kB / 0.786 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/1.106, allocations: 0.6236 MB / 0.7866 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/1.11, allocations: 1.795 MB / 0.7884 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.11, allocations: 2.906 kB / 0.7884 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/1.11, allocations: 0 / 0.7884 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.726e-05/1.11, allocations: 0 / 0.7884 GB, free: 17.37 MB / 0.5919 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.004413/1.114, allocations: 1.601 MB / 0.7899 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.114, allocations: 13.31 kB / 0.79 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/1.117, allocations: 0.5839 MB / 0.7905 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/1.119, allocations: 0.9602 MB / 0.7915 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006564/1.12, allocations: 200.8 kB / 0.7917 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/1.12, allocations: 85.09 kB / 0.7917 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.123, allocations: 1.271 MB / 0.793 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.123, allocations: 3.938 kB / 0.793 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.123, allocations: 36.5 kB / 0.793 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/1.123, allocations: 44.64 kB / 0.7931 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/1.127, allocations: 1.616 MB / 0.7946 GB, free: 15.91 MB / 0.5919 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.006557/1.133, allocations: 4.094 MB / 0.7986 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.136, allocations: 1.053 MB / 0.7997 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/1.137, allocations: 0.6987 MB / 0.8003 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.139, allocations: 0.6358 MB / 0.801 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.139, allocations: 45.5 kB / 0.801 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.597e-06/1.139, allocations: 3.156 kB / 0.801 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004895/1.144, allocations: 1.928 MB / 0.8029 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.144, allocations: 58.47 kB / 0.803 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.145, allocations: 0.8185 MB / 0.8038 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.145, allocations: 38.73 kB / 0.8038 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.145, allocations: 445.6 kB / 0.8042 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/1.145, allocations: 265.1 kB / 0.8045 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.146, allocations: 59.75 kB / 0.8045 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.146, allocations: 338.2 kB / 0.8048 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/1.147, allocations: 0.5636 MB / 0.8054 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.149, allocations: 0.6792 MB / 0.8061 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/1.152, allocations: 1.21 MB / 0.8072 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.152, allocations: 0 / 0.8072 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003619/1.155, allocations: 1.41 MB / 0.8086 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.155, allocations: 155.9 kB / 0.8088 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.155, allocations: 2.875 kB / 0.8088 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/1.155, allocations: 2.938 kB / 0.8088 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.157, allocations: 278.7 kB / 0.809 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007435/1.158, allocations: 1.188 MB / 0.8102 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/1.159, allocations: 200.2 kB / 0.8104 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.16, allocations: 34.34 kB / 0.8104 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.16, allocations: 7.969 kB / 0.8104 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003214/1.163, allocations: 1.309 MB / 0.8117 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/1.163, allocations: 6.938 kB / 0.8117 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/1.163, allocations: 9.781 kB / 0.8117 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.164, allocations: 242.6 kB / 0.812 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.164, allocations: 6.062 kB / 0.812 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.165, allocations: 189 kB / 0.8121 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/1.165, allocations: 34.14 kB / 0.8122 GB, free: 9.656 MB / 0.5919 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.0006889/1.166, allocations: 371.2 kB / 0.8125 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/1.166, allocations: 104.2 kB / 0.8126 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/1.17, allocations: 1.445 MB / 0.814 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.17, allocations: 7.031 kB / 0.814 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.17, allocations: 0.9375 kB / 0.814 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.17, allocations: 3.984 kB / 0.8141 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006138/1.177, allocations: 2.934 MB / 0.8169 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.177, allocations: 2.812 kB / 0.8169 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.178, allocations: 246.3 kB / 0.8172 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.178, allocations: 6.312 kB / 0.8172 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/1.178, allocations: 25.11 kB / 0.8172 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007054/1.179, allocations: 1.198 MB / 0.8184 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.179, allocations: 12.98 kB / 0.8184 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/1.182, allocations: 1.532 MB / 0.8199 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/1.183, allocations: 315.8 kB / 0.8202 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.183, allocations: 17.22 kB / 0.8202 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.184, allocations: 167.1 kB / 0.8203 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.185, allocations: 62.8 kB / 0.8204 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/1.185, allocations: 38.03 kB / 0.8204 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008345/1.186, allocations: 0.5698 MB / 0.821 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.052e-06/1.186, allocations: 0 / 0.821 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001663/1.187, allocations: 0.5318 MB / 0.8215 GB, free: 5.59 MB / 0.5919 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.000763/1.188, allocations: 278.3 kB / 0.8218 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005666/1.194, allocations: 2.131 MB / 0.8239 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.194, allocations: 1.5 kB / 0.8239 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/1.196, allocations: 0.7112 MB / 0.8246 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/1.199, allocations: 0.5094 MB / 0.8251 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/1.205, allocations: 2.615 MB / 0.8276 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/1.205, allocations: 1.094 MB / 0.8287 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/1.206, allocations: 101 kB / 0.8288 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.206, allocations: 0 / 0.8288 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of Templates: time 0.03622/1.242, allocations: 26.75 MB / 0.8549 GB, free: 8.66 MB / 0.6231 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)