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.001549/0.001549, allocations: 103.6 kB / 16.4 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.001474/0.001474, allocations: 191.9 kB / 17.34 MB, free: 5.582 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 / 241 MB, free: 14.94 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.8652/0.8652, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 72.34 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 82.02 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04447/0.1969, allocations: 41.67 MB / 0.717 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.213, allocations: 10.42 MB / 0.7272 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.2151, allocations: 55.69 kB / 0.7272 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.217, allocations: 0.6638 MB / 0.7279 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.2225, allocations: 1.979 MB / 0.7298 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.2257, allocations: 1.189 MB / 0.731 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004934/0.2306, allocations: 3.4 MB / 0.7343 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.232, allocations: 0.8568 MB / 0.7351 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.235, allocations: 1.277 MB / 0.7364 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.2364, allocations: 0.875 MB / 0.7372 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.2366, allocations: 100 kB / 0.7373 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.2385, allocations: 0.8617 MB / 0.7382 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.2389, allocations: 298.7 kB / 0.7384 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.2396, allocations: 0.6337 MB / 0.7391 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.2427, allocations: 2.024 MB / 0.741 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2427, allocations: 4 kB / 0.741 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2427, allocations: 0 / 0.741 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.2427, allocations: 0 / 0.741 GB, free: 7.797 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.002647/0.2454, allocations: 1.552 MB / 0.7426 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2454, allocations: 12.03 kB / 0.7426 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.2458, allocations: 148.1 kB / 0.7427 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.2477, allocations: 1.119 MB / 0.7438 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.2478, allocations: 57.98 kB / 0.7439 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.2479, allocations: 76 kB / 0.7439 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2493, allocations: 0.7866 MB / 0.7447 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.2494, allocations: 4 kB / 0.7447 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.2494, allocations: 32 kB / 0.7447 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.2495, allocations: 20 kB / 0.7448 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2506, allocations: 0.5633 MB / 0.7453 GB, free: 3.301 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.3486/0.5993, allocations: 3.559 MB / 0.7488 GB, free: 70.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.5999, allocations: 246.7 kB / 0.749 GB, free: 70.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.6003, allocations: 165 kB / 0.7492 GB, free: 70.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/0.6007, allocations: 0.6548 MB / 0.7498 GB, free: 69.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6007, allocations: 40.62 kB / 0.7499 GB, free: 69.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.6007, allocations: 3.719 kB / 0.7499 GB, free: 69.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001342/0.602, allocations: 0.5198 MB / 0.7504 GB, free: 69.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.6021, allocations: 55.56 kB / 0.7504 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.6034, allocations: 0.9482 MB / 0.7513 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.6034, allocations: 36.42 kB / 0.7514 GB, free: 69.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.6037, allocations: 0.5011 MB / 0.7519 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.484e-05/0.6038, allocations: 114.1 kB / 0.752 GB, free: 69.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.604, allocations: 114.5 kB / 0.7521 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.604, allocations: 326.6 kB / 0.7524 GB, free: 69.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.6044, allocations: 165.2 kB / 0.7526 GB, free: 69.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.6048, allocations: 349.1 kB / 0.7529 GB, free: 68.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.6056, allocations: 0.5102 MB / 0.7534 GB, free: 68.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6056, allocations: 1.812 kB / 0.7534 GB, free: 68.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001112/0.6067, allocations: 0.6234 MB / 0.754 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6067, allocations: 7.281 kB / 0.754 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6067, allocations: 9.062 kB / 0.754 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.6068, allocations: 7.938 kB / 0.754 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.6072, allocations: 124.7 kB / 0.7541 GB, free: 68.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.6072, allocations: 17.27 kB / 0.7542 GB, free: 68.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.6078, allocations: 85.52 kB / 0.7542 GB, free: 68.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.6078, allocations: 27.02 kB / 0.7543 GB, free: 68.14 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.0003258/0.6082, allocations: 276.6 kB / 0.7545 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6083, allocations: 107.7 kB / 0.7546 GB, free: 67.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.6093, allocations: 478.1 kB / 0.7551 GB, free: 67.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6093, allocations: 8.844 kB / 0.7551 GB, free: 67.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6093, allocations: 2.844 kB / 0.7551 GB, free: 67.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007159/0.61, allocations: 452.6 kB / 0.7555 GB, free: 67.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.6122, allocations: 1.377 MB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6122, allocations: 2.312 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.6126, allocations: 73.36 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6126, allocations: 3.562 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.6126, allocations: 9.062 kB / 0.757 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6126, allocations: 3.109 kB / 0.757 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6126, allocations: 5.266 kB / 0.757 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.614, allocations: 0.7818 MB / 0.7577 GB, free: 66.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.6143, allocations: 231.8 kB / 0.7579 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6144, allocations: 9.438 kB / 0.758 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.6149, allocations: 31.7 kB / 0.758 GB, free: 66.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.615, allocations: 28.81 kB / 0.758 GB, free: 66.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.615, allocations: 28.44 kB / 0.758 GB, free: 66.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009004/0.6159, allocations: 0.6572 MB / 0.7587 GB, free: 65.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6159, allocations: 0 / 0.7587 GB, free: 65.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001147/0.617, allocations: 340.9 kB / 0.759 GB, free: 65.76 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.0009023/0.6179, allocations: 398.9 kB / 0.7594 GB, free: 65.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009764/0.6189, allocations: 405 kB / 0.7598 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.6189, allocations: 1.406 kB / 0.7598 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.6193, allocations: 173.8 kB / 0.7599 GB, free: 65.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.6218, allocations: 0.6172 MB / 0.7605 GB, free: 65.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.6243, allocations: 1.658 MB / 0.7622 GB, free: 64.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.6248, allocations: 1.033 MB / 0.7632 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.625, allocations: 79.52 kB / 0.7632 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.625, allocations: 0 / 0.7632 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.02785/0.6529, allocations: 18.48 MB / 0.7813 GB, free: 56.17 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)