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.001336/0.001336, allocations: 107.4 kB / 16.27 MB, free: 5.945 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.001471/0.001471, allocations: 190 kB / 17.19 MB, free: 5.586 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.8039/0.8039, allocations: 143 MB / 434.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.5148 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3196, allocations: 82.04 MB / 0.5949 GB, free: 16.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03512/0.3547, allocations: 41.56 MB / 0.6355 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3691, allocations: 10.41 MB / 0.6457 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.3709, allocations: 55.69 kB / 0.6457 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.3728, allocations: 0.6365 MB / 0.6464 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.3777, allocations: 1.885 MB / 0.6482 GB, free: 9.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.3806, allocations: 1.184 MB / 0.6494 GB, free: 8.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.3849, allocations: 3.383 MB / 0.6527 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.3868, allocations: 1.073 MB / 0.6537 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.39, allocations: 1.225 MB / 0.6549 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.3918, allocations: 0.8867 MB / 0.6558 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.3921, allocations: 100 kB / 0.6559 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.3943, allocations: 0.8539 MB / 0.6567 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.3948, allocations: 271 kB / 0.657 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.3961, allocations: 0.6377 MB / 0.6576 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.3997, allocations: 2.006 MB / 0.6595 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3997, allocations: 0 / 0.6595 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3997, allocations: 3.938 kB / 0.6595 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.427e-05/0.3998, allocations: 0 / 0.6595 GB, free: 13.96 MB / 0.4981 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.003051/0.4028, allocations: 1.515 MB / 0.661 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4029, allocations: 12.03 kB / 0.661 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/0.4034, allocations: 135.4 kB / 0.6612 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.4052, allocations: 1.048 MB / 0.6622 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.4053, allocations: 54 kB / 0.6622 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.4054, allocations: 75.91 kB / 0.6623 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.4069, allocations: 0.7905 MB / 0.6631 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.4069, allocations: 0 / 0.6631 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.407, allocations: 35.98 kB / 0.6631 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.407, allocations: 20 kB / 0.6631 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4082, allocations: 0.5711 MB / 0.6637 GB, free: 9.578 MB / 0.4981 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.00426/0.4125, allocations: 3.571 MB / 0.6672 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.4131, allocations: 262.4 kB / 0.6674 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.4134, allocations: 177.3 kB / 0.6676 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.4139, allocations: 0.6571 MB / 0.6682 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4139, allocations: 38.55 kB / 0.6683 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.414, allocations: 0 / 0.6683 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001221/0.4152, allocations: 0.5132 MB / 0.6688 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.4152, allocations: 59.41 kB / 0.6688 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4165, allocations: 0.9456 MB / 0.6698 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.4166, allocations: 33.7 kB / 0.6698 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.4169, allocations: 0.4995 MB / 0.6703 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4171, allocations: 114.4 kB / 0.6704 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.4172, allocations: 110.1 kB / 0.6705 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4174, allocations: 329.9 kB / 0.6708 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.4177, allocations: 173 kB / 0.671 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.4183, allocations: 343 kB / 0.6713 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.4191, allocations: 0.5032 MB / 0.6718 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4192, allocations: 7.938 kB / 0.6718 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001208/0.4204, allocations: 0.6175 MB / 0.6724 GB, free: 44 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4204, allocations: 8 kB / 0.6724 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4204, allocations: 4 kB / 0.6724 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4204, allocations: 8 kB / 0.6724 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.4209, allocations: 127.8 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.4209, allocations: 11.94 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.4215, allocations: 83.25 kB / 0.6726 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.4216, allocations: 32.09 kB / 0.6727 GB, free: 15.77 MB / 0.5137 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.0003677/0.422, allocations: 285.5 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.4222, allocations: 98.78 kB / 0.673 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.4233, allocations: 486.3 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4233, allocations: 4 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4233, allocations: 0 / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000723/0.424, allocations: 457.4 kB / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.4263, allocations: 1.366 MB / 0.6753 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.4263, allocations: 7.984 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.4266, allocations: 76.05 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4266, allocations: 7.938 kB / 0.6754 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.4267, allocations: 11.98 kB / 0.6754 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4267, allocations: 4 kB / 0.6754 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4267, allocations: 4 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.4281, allocations: 0.7544 MB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.4285, allocations: 227.7 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4287, allocations: 8 kB / 0.6763 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.4292, allocations: 40.02 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.4293, allocations: 23.97 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.4293, allocations: 15.98 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009275/0.4302, allocations: 0.6588 MB / 0.6771 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4302, allocations: 0 / 0.6771 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001051/0.4313, allocations: 343.4 kB / 0.6774 GB, free: 10.77 MB / 0.5137 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.0007867/0.4321, allocations: 394.7 kB / 0.6778 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009886/0.4331, allocations: 452.9 kB / 0.6782 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4331, allocations: 0 / 0.6782 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.4335, allocations: 188.8 kB / 0.6784 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.4361, allocations: 0.6153 MB / 0.679 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4386, allocations: 1.653 MB / 0.6806 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.4393, allocations: 1.032 MB / 0.6816 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4395, allocations: 87.36 kB / 0.6817 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.4395, allocations: 0 / 0.6817 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.02494/0.4644, allocations: 18.28 MB / 0.6995 GB, free: 4.242 MB / 0.5294 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)