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.001346/0.001346, allocations: 114.6 kB / 17.09 MB, free: 6.004 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.6 kB / 18.02 MB, free: 5.09 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7497/0.7497, allocations: 122.8 MB / 414.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 74.03 kB / 0.5691 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1538, allocations: 77.93 MB / 0.6452 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5701/0.7239, allocations: 214.2 MB / 0.8543 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.7349, allocations: 7.045 MB / 0.8612 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.7364, allocations: 43.28 kB / 0.8613 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.7385, allocations: 0.8082 MB / 0.8621 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006318/0.7449, allocations: 2.632 MB / 0.8646 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.748, allocations: 1.183 MB / 0.8658 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004349/0.7524, allocations: 2.846 MB / 0.8686 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.7542, allocations: 1.077 MB / 0.8696 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.7592, allocations: 2.055 MB / 0.8716 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.7616, allocations: 0.9391 MB / 0.8725 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.762, allocations: 120 kB / 0.8726 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.7669, allocations: 2.452 MB / 0.875 GB, free: 328 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006133/0.7676, allocations: 426.8 kB / 0.8754 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.7687, allocations: 0.6958 MB / 0.8761 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.7731, allocations: 2.485 MB / 0.8786 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7731, allocations: 4 kB / 0.8786 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7731, allocations: 0 / 0.8786 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.855e-05/0.7732, allocations: 0 / 0.8786 GB, free: 12.7 MB / 0.6387 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.005114/0.7783, allocations: 1.844 MB / 0.8804 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7784, allocations: 12.56 kB / 0.8804 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.7817, allocations: 0.5331 MB / 0.8809 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.7837, allocations: 1.003 MB / 0.8819 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.7838, allocations: 69.98 kB / 0.8819 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.7839, allocations: 80 kB / 0.882 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.7867, allocations: 1.225 MB / 0.8832 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.7867, allocations: 7.938 kB / 0.8832 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.7868, allocations: 28 kB / 0.8832 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/0.7869, allocations: 45.97 kB / 0.8833 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.7905, allocations: 1.526 MB / 0.8848 GB, free: 6.219 MB / 0.6387 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.006487/0.797, allocations: 4.027 MB / 0.8887 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.7995, allocations: 0.9753 MB / 0.8897 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.801, allocations: 0.663 MB / 0.8903 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.8022, allocations: 0.6087 MB / 0.8909 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.8023, allocations: 39.22 kB / 0.8909 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.487e-06/0.8023, allocations: 0 / 0.8909 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.004865/0.8071, allocations: 1.781 MB / 0.8927 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.8072, allocations: 60.06 kB / 0.8927 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.8082, allocations: 0.827 MB / 0.8935 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.8083, allocations: 41.7 kB / 0.8936 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.8086, allocations: 452.5 kB / 0.894 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.8088, allocations: 256.2 kB / 0.8943 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.8091, allocations: 154.5 kB / 0.8944 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8092, allocations: 334 kB / 0.8947 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.8107, allocations: 0.5278 MB / 0.8952 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.8122, allocations: 0.6433 MB / 0.8959 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.8152, allocations: 1.123 MB / 0.897 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8153, allocations: 0 / 0.897 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00365/0.8189, allocations: 1.333 MB / 0.8983 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.819, allocations: 29.7 kB / 0.8983 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.819, allocations: 4 kB / 0.8983 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.819, allocations: 4 kB / 0.8983 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.8206, allocations: 255.7 kB / 0.8986 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008911/0.8215, allocations: 1.195 MB / 0.8997 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8227, allocations: 131.4 kB / 0.8998 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.8228, allocations: 43.97 kB / 0.8999 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001831/0.8246, allocations: 0.7517 MB / 0.9006 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001534/0.8262, allocations: 0.6356 MB / 0.9012 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002727/0.8289, allocations: 1.111 MB / 0.9023 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.8289, allocations: 0 / 0.9023 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003729/0.8327, allocations: 1.321 MB / 0.9036 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.8327, allocations: 39.56 kB / 0.9037 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8327, allocations: 0 / 0.9037 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.8328, allocations: 7.938 kB / 0.9037 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.834, allocations: 223.7 kB / 0.9039 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.834, allocations: 7.984 kB / 0.9039 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.835, allocations: 123.5 kB / 0.904 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.8351, allocations: 35.98 kB / 0.904 GB, free: 1.828 MB / 0.6544 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.0003591/0.8355, allocations: 222.8 kB / 0.9042 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.8358, allocations: 102.8 kB / 0.9043 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.8393, allocations: 1.351 MB / 0.9057 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8394, allocations: 3.984 kB / 0.9057 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8394, allocations: 0 / 0.9057 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.84, allocations: 303.8 kB / 0.906 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.8401, allocations: 11.98 kB / 0.906 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.8412, allocations: 103.9 kB / 0.9061 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.8414, allocations: 48.53 kB / 0.9061 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003775/0.8452, allocations: 1.357 MB / 0.9074 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004667/0.8499, allocations: 2.102 MB / 0.9095 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001401/0.8513, allocations: 0.5712 MB / 0.91 GB, free: 11.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000761/0.852, allocations: 0.5661 MB / 0.9106 GB, free: 11.02 MB / 0.67 GB Notification: Performance of Backend: time 4.91e-07/0.8521, allocations: 4 kB / 0.9106 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005539/0.8576, allocations: 2.027 MB / 0.9126 GB, free: 8.977 MB / 0.67 GB Notification: Performance of SimCode: time 0.003457/0.8611, allocations: 2.252 MB / 0.9148 GB, free: 6.664 MB / 0.67 GB Notification: Performance of Templates: time 0.04478/0.9059, allocations: 30.1 MB / 0.9442 GB, free: 8.766 MB / 0.7012 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)