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.004773/0.004773, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001241/0.001241, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.9366/0.9366, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.89 kB / 0.5955 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4138, allocations: 82.02 MB / 0.6756 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03982/0.4536, allocations: 41.58 MB / 0.7162 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.468, allocations: 10.41 MB / 0.7264 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.4704, allocations: 55.69 kB / 0.7265 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.4725, allocations: 0.6365 MB / 0.7271 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.4778, allocations: 1.885 MB / 0.7289 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.4808, allocations: 1.184 MB / 0.7301 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004715/0.4855, allocations: 3.395 MB / 0.7334 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.4872, allocations: 1.068 MB / 0.7344 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.4906, allocations: 1.261 MB / 0.7357 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.4922, allocations: 0.8828 MB / 0.7365 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.4925, allocations: 104 kB / 0.7366 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.4946, allocations: 0.8578 MB / 0.7375 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.4949, allocations: 282.9 kB / 0.7377 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000763/0.4957, allocations: 0.6299 MB / 0.7384 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.4988, allocations: 2.023 MB / 0.7403 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4988, allocations: 0 / 0.7403 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4988, allocations: 0 / 0.7403 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.327e-05/0.4989, allocations: 4 kB / 0.7403 GB, free: 4.02 MB / 0.5606 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.003115/0.502, allocations: 1.515 MB / 0.7418 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5021, allocations: 12.03 kB / 0.7418 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.5025, allocations: 131.4 kB / 0.7419 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.5045, allocations: 1.107 MB / 0.743 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.5045, allocations: 58 kB / 0.7431 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5046, allocations: 72 kB / 0.7432 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.5061, allocations: 0.7866 MB / 0.7439 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5061, allocations: 11.78 kB / 0.7439 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.5062, allocations: 31.98 kB / 0.744 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.5062, allocations: 20 kB / 0.744 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.5074, allocations: 0.5712 MB / 0.7445 GB, free: 15.57 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.004135/0.5115, allocations: 3.556 MB / 0.748 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.5121, allocations: 258.4 kB / 0.7483 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.5124, allocations: 178.5 kB / 0.7484 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/0.5129, allocations: 0.657 MB / 0.7491 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5129, allocations: 42.5 kB / 0.7491 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/0.5129, allocations: 4 kB / 0.7491 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001155/0.5141, allocations: 0.5215 MB / 0.7496 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.5141, allocations: 55.41 kB / 0.7497 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.5153, allocations: 0.9417 MB / 0.7506 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.5153, allocations: 37.7 kB / 0.7506 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.5157, allocations: 0.4956 MB / 0.7511 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.5158, allocations: 106.5 kB / 0.7512 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.516, allocations: 122 kB / 0.7513 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.5161, allocations: 325.9 kB / 0.7516 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.5164, allocations: 161 kB / 0.7518 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.5169, allocations: 354.9 kB / 0.7521 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.5177, allocations: 0.5116 MB / 0.7526 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5177, allocations: 0 / 0.7526 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001141/0.5188, allocations: 0.6131 MB / 0.7532 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5189, allocations: 4.688 kB / 0.7532 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.5189, allocations: 12 kB / 0.7533 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.5189, allocations: 12 kB / 0.7533 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.5194, allocations: 119.8 kB / 0.7534 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.5194, allocations: 11.94 kB / 0.7534 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.5202, allocations: 83.19 kB / 0.7535 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.5203, allocations: 27.98 kB / 0.7535 GB, free: 5.793 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.0004447/0.5207, allocations: 281.6 kB / 0.7538 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.521, allocations: 102.8 kB / 0.7539 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.522, allocations: 480.2 kB / 0.7543 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.5221, allocations: 4 kB / 0.7543 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5221, allocations: 0 / 0.7543 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000748/0.5228, allocations: 459.3 kB / 0.7548 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.525, allocations: 1.363 MB / 0.7561 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.525, allocations: 0 / 0.7561 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.5254, allocations: 75.88 kB / 0.7562 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5254, allocations: 7.938 kB / 0.7562 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.5254, allocations: 11.94 kB / 0.7562 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.5254, allocations: 7.938 kB / 0.7562 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5254, allocations: 0 / 0.7562 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.5267, allocations: 0.7683 MB / 0.7569 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.527, allocations: 231.7 kB / 0.7572 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5272, allocations: 15.92 kB / 0.7572 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.5277, allocations: 23.97 kB / 0.7572 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.5278, allocations: 27.91 kB / 0.7572 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.5278, allocations: 24.05 kB / 0.7573 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008564/0.5287, allocations: 0.6588 MB / 0.7579 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5287, allocations: 0 / 0.7579 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000958/0.5297, allocations: 335.4 kB / 0.7582 GB, free: 0.7891 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.0008063/0.5305, allocations: 398.5 kB / 0.7586 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008837/0.5314, allocations: 424.1 kB / 0.759 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5314, allocations: 3.828 kB / 0.759 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.5317, allocations: 193 kB / 0.7592 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.5343, allocations: 0.6249 MB / 0.7598 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.5367, allocations: 1.602 MB / 0.7614 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.5373, allocations: 1.032 MB / 0.7624 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006564/0.538, allocations: 195.5 kB / 0.7626 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5382, allocations: 79.42 kB / 0.7626 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5382, allocations: 0 / 0.7626 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.03524/0.5734, allocations: 21.91 MB / 0.784 GB, free: 6.586 MB / 0.6075 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)