Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004824/0.004823, allocations: 99.53 kB / 15.73 MB, free: 5.594 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.001105/0.001105, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8422/0.8422, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 68.83 kB / 0.5955 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1785, allocations: 82.04 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03976/0.2183, allocations: 41.58 MB / 0.7162 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.2349, allocations: 10.42 MB / 0.7264 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.2378, allocations: 59.69 kB / 0.7265 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.2401, allocations: 0.6365 MB / 0.7271 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005909/0.246, allocations: 1.884 MB / 0.7289 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.2495, allocations: 1.178 MB / 0.7301 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.2545, allocations: 3.395 MB / 0.7334 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.256, allocations: 1.06 MB / 0.7344 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.2594, allocations: 1.269 MB / 0.7357 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.2608, allocations: 0.8789 MB / 0.7365 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.261, allocations: 100 kB / 0.7366 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2632, allocations: 0.8578 MB / 0.7375 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.2635, allocations: 287 kB / 0.7377 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.2641, allocations: 0.6337 MB / 0.7383 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.2669, allocations: 2.018 MB / 0.7403 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2669, allocations: 4 kB / 0.7403 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2669, allocations: 0 / 0.7403 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.2669, allocations: 3.938 kB / 0.7403 GB, free: 7.902 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002319/0.2693, allocations: 1.515 MB / 0.7418 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2693, allocations: 12.03 kB / 0.7418 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.2697, allocations: 135.4 kB / 0.7419 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.2712, allocations: 1.115 MB / 0.743 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.2713, allocations: 54 kB / 0.7431 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.2714, allocations: 68 kB / 0.7432 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.2727, allocations: 0.7866 MB / 0.7439 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.2728, allocations: 3.938 kB / 0.7439 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.2728, allocations: 32 kB / 0.744 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.2729, allocations: 24 kB / 0.744 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.2739, allocations: 0.5711 MB / 0.7445 GB, free: 3.457 MB / 0.5762 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.4052/0.6791, allocations: 3.552 MB / 0.748 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.6801, allocations: 253.2 kB / 0.7482 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.6805, allocations: 177.3 kB / 0.7484 GB, free: 70.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004727/0.681, allocations: 0.6545 MB / 0.7491 GB, free: 69.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.6811, allocations: 39.84 kB / 0.7491 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/0.6811, allocations: 0 / 0.7491 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001663/0.6827, allocations: 0.5173 MB / 0.7496 GB, free: 69.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.6828, allocations: 55.66 kB / 0.7496 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.6843, allocations: 0.9443 MB / 0.7506 GB, free: 69.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.6844, allocations: 34.95 kB / 0.7506 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.6848, allocations: 0.4946 MB / 0.7511 GB, free: 69.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.6849, allocations: 110.8 kB / 0.7512 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.6851, allocations: 118 kB / 0.7513 GB, free: 69.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.6851, allocations: 330.3 kB / 0.7516 GB, free: 69.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.6855, allocations: 160.6 kB / 0.7518 GB, free: 69.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.6859, allocations: 360 kB / 0.7521 GB, free: 68.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.6867, allocations: 0.5065 MB / 0.7526 GB, free: 68.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6867, allocations: 1.5 kB / 0.7526 GB, free: 68.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00118/0.6879, allocations: 0.6245 MB / 0.7532 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.6879, allocations: 7.406 kB / 0.7532 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.688, allocations: 4.688 kB / 0.7532 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.688, allocations: 8.125 kB / 0.7532 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.6885, allocations: 127.4 kB / 0.7534 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.6885, allocations: 12.34 kB / 0.7534 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.6891, allocations: 85.84 kB / 0.7535 GB, free: 68.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.6892, allocations: 30.39 kB / 0.7535 GB, free: 68.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003339/0.6895, allocations: 274.9 kB / 0.7537 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6897, allocations: 100.7 kB / 0.7538 GB, free: 67.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6907, allocations: 483 kB / 0.7543 GB, free: 67.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.6907, allocations: 4.406 kB / 0.7543 GB, free: 67.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.6907, allocations: 9.453 kB / 0.7543 GB, free: 67.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007216/0.6915, allocations: 452.3 kB / 0.7548 GB, free: 67.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.6938, allocations: 1.369 MB / 0.7561 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6939, allocations: 1.5 kB / 0.7561 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.6942, allocations: 81.58 kB / 0.7562 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6942, allocations: 2.406 kB / 0.7562 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.6943, allocations: 9.797 kB / 0.7562 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.6943, allocations: 6.562 kB / 0.7562 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6943, allocations: 5.562 kB / 0.7562 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.6961, allocations: 0.7623 MB / 0.7569 GB, free: 66.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/0.6966, allocations: 226 kB / 0.7572 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.6968, allocations: 8.25 kB / 0.7572 GB, free: 66.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.6973, allocations: 35.27 kB / 0.7572 GB, free: 66.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.6975, allocations: 29.41 kB / 0.7572 GB, free: 66.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.6975, allocations: 16.42 kB / 0.7572 GB, free: 66.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00146/0.699, allocations: 0.6632 MB / 0.7579 GB, free: 65.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.699, allocations: 1.875 kB / 0.7579 GB, free: 65.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002384/0.7014, allocations: 336.4 kB / 0.7582 GB, free: 65.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001567/0.703, allocations: 403.5 kB / 0.7586 GB, free: 65.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.7047, allocations: 420.5 kB / 0.759 GB, free: 65.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.7047, allocations: 2.344 kB / 0.759 GB, free: 65.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.7052, allocations: 184.8 kB / 0.7592 GB, free: 65.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.7082, allocations: 0.6145 MB / 0.7598 GB, free: 65.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.711, allocations: 1.591 MB / 0.7613 GB, free: 64.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.7116, allocations: 1.041 MB / 0.7623 GB, free: 63.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007452/0.7123, allocations: 197.9 kB / 0.7625 GB, free: 63.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.7125, allocations: 79.73 kB / 0.7626 GB, free: 63.76 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.7125, allocations: 5.531 kB / 0.7626 GB, free: 63.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.03693/0.7495, allocations: 21.6 MB / 0.7837 GB, free: 54.14 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)