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.001182/0.001182, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001031/0.001031, allocations: 189.7 kB / 17.35 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.15 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.8359/0.8359, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.23 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1682, allocations: 82.04 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03992/0.2081, allocations: 41.58 MB / 0.7169 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.224, allocations: 10.4 MB / 0.7271 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.2269, allocations: 55.69 kB / 0.7271 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.2293, allocations: 0.6443 MB / 0.7278 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.2359, allocations: 1.877 MB / 0.7296 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.2395, allocations: 1.194 MB / 0.7308 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005329/0.2449, allocations: 3.383 MB / 0.7341 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.2469, allocations: 1.064 MB / 0.7351 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.2504, allocations: 1.271 MB / 0.7363 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.2522, allocations: 0.8828 MB / 0.7372 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.2526, allocations: 100 kB / 0.7373 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.2551, allocations: 0.8617 MB / 0.7381 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.2555, allocations: 283 kB / 0.7384 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.2568, allocations: 0.6337 MB / 0.739 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.2601, allocations: 2.021 MB / 0.741 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2602, allocations: 0 / 0.741 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2602, allocations: 0 / 0.741 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.2602, allocations: 0 / 0.741 GB, free: 7.848 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.002612/0.2628, allocations: 1.518 MB / 0.7425 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2629, allocations: 8.031 kB / 0.7425 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.2632, allocations: 135.4 kB / 0.7426 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.2649, allocations: 1.111 MB / 0.7437 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.265, allocations: 57.94 kB / 0.7438 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.2651, allocations: 72 kB / 0.7438 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.2665, allocations: 0.7866 MB / 0.7446 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.2665, allocations: 7.984 kB / 0.7446 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.2666, allocations: 31.98 kB / 0.7446 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.2666, allocations: 20 kB / 0.7447 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.2677, allocations: 0.5711 MB / 0.7452 GB, free: 3.398 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.3627/0.6304, allocations: 3.545 MB / 0.7487 GB, free: 70.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.6313, allocations: 261.8 kB / 0.7489 GB, free: 70.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.6317, allocations: 178.5 kB / 0.7491 GB, free: 70.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/0.6321, allocations: 0.6548 MB / 0.7497 GB, free: 69.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6321, allocations: 38 kB / 0.7498 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.015e-06/0.6321, allocations: 0 / 0.7498 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001458/0.6336, allocations: 0.5143 MB / 0.7503 GB, free: 69.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.6337, allocations: 62.78 kB / 0.7503 GB, free: 69.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.635, allocations: 0.943 MB / 0.7513 GB, free: 69.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.635, allocations: 37.56 kB / 0.7513 GB, free: 69.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.6354, allocations: 0.4886 MB / 0.7518 GB, free: 69.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.6355, allocations: 107.7 kB / 0.7519 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.6357, allocations: 124.7 kB / 0.752 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.6357, allocations: 331.6 kB / 0.7523 GB, free: 68.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.6361, allocations: 161.2 kB / 0.7525 GB, free: 68.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.6366, allocations: 353.7 kB / 0.7528 GB, free: 68.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.6374, allocations: 0.506 MB / 0.7533 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6374, allocations: 1.406 kB / 0.7533 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001198/0.6386, allocations: 0.6202 MB / 0.7539 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6386, allocations: 8.906 kB / 0.7539 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6386, allocations: 4.547 kB / 0.7539 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.6387, allocations: 8.531 kB / 0.7539 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.6391, allocations: 126 kB / 0.754 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.6392, allocations: 19.16 kB / 0.7541 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.6399, allocations: 82.92 kB / 0.7541 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.6399, allocations: 27.59 kB / 0.7542 GB, free: 68.15 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.0004195/0.6404, allocations: 273.9 kB / 0.7544 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.6405, allocations: 100.5 kB / 0.7545 GB, free: 67.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.6416, allocations: 480.6 kB / 0.755 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.6417, allocations: 8.844 kB / 0.755 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.6417, allocations: 7.312 kB / 0.755 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007669/0.6425, allocations: 453.6 kB / 0.7554 GB, free: 67.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.645, allocations: 1.373 MB / 0.7568 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.645, allocations: 2.328 kB / 0.7568 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.6454, allocations: 80.22 kB / 0.7568 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.6454, allocations: 3.062 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.6454, allocations: 8.875 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.6454, allocations: 7.312 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6454, allocations: 1.562 kB / 0.7569 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.6469, allocations: 0.7651 MB / 0.7576 GB, free: 66.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.6473, allocations: 226.2 kB / 0.7578 GB, free: 66.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6474, allocations: 12.56 kB / 0.7578 GB, free: 66.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.648, allocations: 31.73 kB / 0.7579 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.6481, allocations: 25.47 kB / 0.7579 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.6481, allocations: 15.14 kB / 0.7579 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001007/0.6491, allocations: 0.6628 MB / 0.7586 GB, free: 65.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6491, allocations: 2.734 kB / 0.7586 GB, free: 65.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001334/0.6505, allocations: 342.9 kB / 0.7589 GB, free: 65.75 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.0009481/0.6514, allocations: 403 kB / 0.7593 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.6525, allocations: 419.4 kB / 0.7597 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6525, allocations: 1.781 kB / 0.7597 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.6529, allocations: 182.5 kB / 0.7598 GB, free: 65.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.6556, allocations: 0.6098 MB / 0.7604 GB, free: 65.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.6585, allocations: 1.632 MB / 0.762 GB, free: 64.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.6592, allocations: 1.032 MB / 0.763 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.6594, allocations: 84.73 kB / 0.7631 GB, free: 63.68 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.6594, allocations: 0 / 0.7631 GB, free: 63.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.03398/0.6934, allocations: 18.38 MB / 0.7811 GB, free: 56.29 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)