Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001163/0.001163, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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 0.8318/0.8318, allocations: 143 MB / 434.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 61.25 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 82.04 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5114/0.669, allocations: 77.15 MB / 0.7516 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.6959, allocations: 18.91 MB / 0.7701 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.7013, allocations: 112.1 kB / 0.7702 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005118/0.7065, allocations: 1.252 MB / 0.7714 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.7209, allocations: 3.629 MB / 0.775 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007656/0.7286, allocations: 2.1 MB / 0.777 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.7405, allocations: 6.679 MB / 0.7836 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004416/0.745, allocations: 2.091 MB / 0.7856 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006832/0.7519, allocations: 2.373 MB / 0.7879 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.7566, allocations: 1.801 MB / 0.7897 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.7576, allocations: 199.2 kB / 0.7899 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00688/0.7645, allocations: 1.621 MB / 0.7915 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.766, allocations: 0.5341 MB / 0.792 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003694/0.7697, allocations: 1.248 MB / 0.7932 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009609/0.7793, allocations: 3.925 MB / 0.797 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7794, allocations: 1.219 kB / 0.797 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7794, allocations: 4 kB / 0.797 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001474/0.7795, allocations: 3.938 kB / 0.797 GB, free: 13.13 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007751/0.7873, allocations: 2.721 MB / 0.7997 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7873, allocations: 9.531 kB / 0.7997 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.7886, allocations: 267.6 kB / 0.8 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/0.7929, allocations: 2.025 MB / 0.8019 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.793, allocations: 104.7 kB / 0.802 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.7934, allocations: 145.3 kB / 0.8022 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.7968, allocations: 1.518 MB / 0.8037 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.7969, allocations: 2.656 kB / 0.8037 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.7971, allocations: 57.25 kB / 0.8037 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.7971, allocations: 48.38 kB / 0.8038 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.7996, allocations: 1.125 MB / 0.8049 GB, free: 8.031 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.0112/0.8108, allocations: 7.61 MB / 0.8123 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.8119, allocations: 480.5 kB / 0.8127 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.8126, allocations: 339.8 kB / 0.8131 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.8137, allocations: 1.145 MB / 0.8142 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.8137, allocations: 48.19 kB / 0.8142 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.405e-06/0.8137, allocations: 0 / 0.8142 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.00266/0.8164, allocations: 0.9611 MB / 0.8152 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.8165, allocations: 57 kB / 0.8152 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/0.8194, allocations: 1.787 MB / 0.817 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.8195, allocations: 43.08 kB / 0.817 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008489/0.8204, allocations: 0.9345 MB / 0.8179 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.8206, allocations: 216.5 kB / 0.8181 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.821, allocations: 225.2 kB / 0.8183 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8211, allocations: 347.1 kB / 0.8187 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.8218, allocations: 336.8 kB / 0.819 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/0.8228, allocations: 0.6877 MB / 0.8197 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.8245, allocations: 1.012 MB / 0.8207 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.8245, allocations: 4.656 kB / 0.8207 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002647/0.8272, allocations: 1.214 MB / 0.8218 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.8272, allocations: 8.812 kB / 0.8219 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.8272, allocations: 10.94 kB / 0.8219 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/0.8273, allocations: 17.94 kB / 0.8219 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8283, allocations: 293.9 kB / 0.8222 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.8283, allocations: 23.89 kB / 0.8222 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.83, allocations: 164.5 kB / 0.8223 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.8301, allocations: 52.25 kB / 0.8224 GB, free: 10.05 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008668/0.831, allocations: 436 kB / 0.8228 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.8316, allocations: 197.6 kB / 0.823 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.8336, allocations: 0.8697 MB / 0.8238 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.8336, allocations: 7.984 kB / 0.8239 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8337, allocations: 4 kB / 0.8239 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/0.835, allocations: 0.7918 MB / 0.8246 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/0.84, allocations: 2.456 MB / 0.827 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.8401, allocations: 4 kB / 0.827 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.8408, allocations: 183.7 kB / 0.8272 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.8409, allocations: 4.219 kB / 0.8272 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.8409, allocations: 23.98 kB / 0.8272 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.8409, allocations: 7.938 kB / 0.8272 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8409, allocations: 0 / 0.8272 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.8436, allocations: 1.332 MB / 0.8285 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000975/0.8446, allocations: 374.4 kB / 0.8289 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005179/0.8451, allocations: 12 kB / 0.8289 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.8465, allocations: 71.92 kB / 0.829 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.8466, allocations: 44.5 kB / 0.829 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/0.8467, allocations: 39.91 kB / 0.8291 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002242/0.8489, allocations: 1.239 MB / 0.8303 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8489, allocations: 0 / 0.8303 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002581/0.8515, allocations: 0.659 MB / 0.8309 GB, free: 1.203 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.8531, allocations: 0.6219 MB / 0.8315 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.855, allocations: 0.8195 MB / 0.8323 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.855, allocations: 3.938 kB / 0.8323 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.8558, allocations: 364.4 kB / 0.8327 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006288/0.8621, allocations: 1.199 MB / 0.8338 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.8679, allocations: 3.087 MB / 0.8369 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.8692, allocations: 1.388 MB / 0.8382 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.8697, allocations: 155.4 kB / 0.8384 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/0.8697, allocations: 0 / 0.8384 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of Templates: time 0.05786/0.9275, allocations: 35.58 MB / 0.8731 GB, free: 6.324 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)