Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00114/0.00114, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 200 kB / 16.79 MB, free: 6.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.034/1.034, allocations: 143 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.5141 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1854, allocations: 82.03 MB / 0.5942 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5523/0.7377, allocations: 212.1 MB / 0.8014 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.7484, allocations: 7.14 MB / 0.8084 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.7501, allocations: 43.69 kB / 0.8084 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.7522, allocations: 0.6528 MB / 0.8091 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.7583, allocations: 2.366 MB / 0.8114 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.7612, allocations: 1.053 MB / 0.8124 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004564/0.7657, allocations: 3.752 MB / 0.8161 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.7673, allocations: 0.9239 MB / 0.817 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.7715, allocations: 1.79 MB / 0.8187 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.774, allocations: 0.9599 MB / 0.8197 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.7742, allocations: 60 kB / 0.8197 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.7795, allocations: 2.802 MB / 0.8225 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.7801, allocations: 378.7 kB / 0.8228 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.7812, allocations: 0.6218 MB / 0.8234 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.7841, allocations: 1.918 MB / 0.8253 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7841, allocations: 0 / 0.8253 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7841, allocations: 4 kB / 0.8253 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.7842, allocations: 0 / 0.8253 GB, free: 1.129 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.004954/0.7891, allocations: 1.847 MB / 0.8271 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7892, allocations: 8.031 kB / 0.8271 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.7926, allocations: 0.5369 MB / 0.8276 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.7945, allocations: 0.9602 MB / 0.8286 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006799/0.7952, allocations: 173.9 kB / 0.8287 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.7954, allocations: 87.98 kB / 0.8288 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.7982, allocations: 1.237 MB / 0.83 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7982, allocations: 0 / 0.83 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.7983, allocations: 35.98 kB / 0.8301 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.7984, allocations: 49.98 kB / 0.8301 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.8022, allocations: 1.542 MB / 0.8316 GB, free: 10.55 MB / 0.6544 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.00685/0.8091, allocations: 4.063 MB / 0.8356 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.8117, allocations: 1.001 MB / 0.8366 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.8133, allocations: 0.6674 MB / 0.8372 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.8146, allocations: 0.6087 MB / 0.8378 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.8147, allocations: 43.16 kB / 0.8379 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.8147, allocations: 0 / 0.8379 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.005421/0.8201, allocations: 1.812 MB / 0.8396 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.8202, allocations: 64.05 kB / 0.8397 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.8214, allocations: 0.8232 MB / 0.8405 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.8215, allocations: 41.7 kB / 0.8405 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.8219, allocations: 436.6 kB / 0.8409 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.8221, allocations: 268.1 kB / 0.8412 GB, free: 268 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.8224, allocations: 150.5 kB / 0.8413 GB, free: 112 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8226, allocations: 334 kB / 0.8417 GB, free: 15.78 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.824, allocations: 0.5434 MB / 0.8422 GB, free: 15.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.8256, allocations: 0.6637 MB / 0.8428 GB, free: 14.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.8284, allocations: 1.151 MB / 0.844 GB, free: 13.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.8284, allocations: 3.938 kB / 0.844 GB, free: 13.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003482/0.8319, allocations: 1.364 MB / 0.8453 GB, free: 11.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.832, allocations: 37.77 kB / 0.8453 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.832, allocations: 0 / 0.8453 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.832, allocations: 4 kB / 0.8453 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.8336, allocations: 260.3 kB / 0.8456 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007288/0.8344, allocations: 1.191 MB / 0.8467 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.8357, allocations: 183.9 kB / 0.8469 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.8358, allocations: 39.97 kB / 0.847 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001805/0.8377, allocations: 0.7595 MB / 0.8477 GB, free: 9.461 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001524/0.8392, allocations: 0.6566 MB / 0.8483 GB, free: 8.773 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002819/0.842, allocations: 1.139 MB / 0.8495 GB, free: 7.609 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.8421, allocations: 4.625 kB / 0.8495 GB, free: 7.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003463/0.8455, allocations: 1.36 MB / 0.8508 GB, free: 6.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.8456, allocations: 35.58 kB / 0.8508 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.8456, allocations: 3.938 kB / 0.8508 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.8456, allocations: 4 kB / 0.8508 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.8469, allocations: 231.8 kB / 0.8511 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.8469, allocations: 7.984 kB / 0.8511 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.8483, allocations: 167.9 kB / 0.8512 GB, free: 5.785 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.8484, allocations: 39.98 kB / 0.8513 GB, free: 5.746 MB / 0.67 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.0003333/0.8487, allocations: 224.2 kB / 0.8515 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.849, allocations: 106.7 kB / 0.8516 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.8525, allocations: 1.363 MB / 0.8529 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8526, allocations: 4 kB / 0.8529 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.8526, allocations: 8 kB / 0.8529 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.8526, allocations: 3.984 kB / 0.8529 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/0.8584, allocations: 2.845 MB / 0.8557 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8584, allocations: 4 kB / 0.8557 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.8597, allocations: 233.3 kB / 0.8559 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.8598, allocations: 11.94 kB / 0.8559 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.8599, allocations: 23.98 kB / 0.856 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3158/1.176, allocations: 1.191 MB / 0.8571 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.176, allocations: 7.156 kB / 0.8571 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/1.179, allocations: 1.467 MB / 0.8586 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/1.18, allocations: 313 kB / 0.8589 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.18, allocations: 15.75 kB / 0.8589 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.181, allocations: 154.9 kB / 0.859 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.181, allocations: 56.78 kB / 0.8591 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/1.181, allocations: 32.53 kB / 0.8591 GB, free: 212.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006826/1.182, allocations: 0.5743 MB / 0.8597 GB, free: 212 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 0 / 0.8597 GB, free: 212 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001383/1.183, allocations: 0.5304 MB / 0.8602 GB, free: 212 MB / 0.67 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.0006151/1.184, allocations: 277.5 kB / 0.8605 GB, free: 211.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005079/1.189, allocations: 2.046 MB / 0.8625 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.189, allocations: 0 / 0.8625 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.191, allocations: 0.6716 MB / 0.8631 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.194, allocations: 0.506 MB / 0.8636 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/1.198, allocations: 2.572 MB / 0.8661 GB, free: 210.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/1.198, allocations: 1.085 MB / 0.8672 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/1.199, allocations: 111.7 kB / 0.8673 GB, free: 209.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/1.199, allocations: 3.5 kB / 0.8673 GB, free: 209.6 MB / 0.67 GB Notification: Performance of Templates: time 0.03843/1.237, allocations: 26.93 MB / 0.8936 GB, free: 206.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)