Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9933/0.9933, allocations: 143 MB / 433.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1591, allocations: 82.05 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3275/0.4866, allocations: 77.14 MB / 0.6697 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02905/0.5157, allocations: 18.89 MB / 0.6882 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/0.5197, allocations: 112.1 kB / 0.6883 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.5235, allocations: 1.254 MB / 0.6895 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.5345, allocations: 3.632 MB / 0.6931 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.5403, allocations: 2.075 MB / 0.6951 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009707/0.55, allocations: 6.68 MB / 0.7016 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003799/0.5538, allocations: 2.087 MB / 0.7036 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/0.5596, allocations: 2.301 MB / 0.7059 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.5633, allocations: 1.738 MB / 0.7076 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008358/0.5642, allocations: 202.6 kB / 0.7078 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005779/0.5699, allocations: 1.622 MB / 0.7094 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.5715, allocations: 0.5345 MB / 0.7099 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003813/0.5753, allocations: 1.257 MB / 0.7111 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009242/0.5846, allocations: 3.879 MB / 0.7149 GB, free: 14.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5847, allocations: 0 / 0.7149 GB, free: 14.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5847, allocations: 0 / 0.7149 GB, free: 14.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001496/0.5848, allocations: 1.375 kB / 0.7149 GB, free: 14.61 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007663/0.5925, allocations: 2.714 MB / 0.7176 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5925, allocations: 10.25 kB / 0.7176 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004167/0.593, allocations: 214.1 kB / 0.7178 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.5941, allocations: 267 kB / 0.718 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/0.598, allocations: 1.911 MB / 0.7199 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.5982, allocations: 104.8 kB / 0.72 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.5985, allocations: 142.6 kB / 0.7201 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.6015, allocations: 1.524 MB / 0.7216 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.6015, allocations: 5.594 kB / 0.7216 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.6017, allocations: 59.14 kB / 0.7217 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.6017, allocations: 44.91 kB / 0.7217 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.604, allocations: 1.128 MB / 0.7228 GB, free: 9.145 MB / 0.545 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.01017/0.6142, allocations: 7.671 MB / 0.7303 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6153, allocations: 468.6 kB / 0.7308 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.616, allocations: 338.3 kB / 0.7311 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008974/0.6169, allocations: 1.152 MB / 0.7322 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.617, allocations: 47.16 kB / 0.7322 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 4.779e-06/0.617, allocations: 4 kB / 0.7323 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002497/0.6195, allocations: 0.9573 MB / 0.7332 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6195, allocations: 59.97 kB / 0.7332 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.6225, allocations: 1.783 MB / 0.735 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.6226, allocations: 45.7 kB / 0.735 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009783/0.6236, allocations: 0.9238 MB / 0.7359 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.624, allocations: 225 kB / 0.7361 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/0.6244, allocations: 234.6 kB / 0.7364 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6246, allocations: 345.9 kB / 0.7367 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.6254, allocations: 334.4 kB / 0.737 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.6265, allocations: 0.6938 MB / 0.7377 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.6283, allocations: 1.008 MB / 0.7387 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.6283, allocations: 4 kB / 0.7387 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002755/0.6311, allocations: 1.21 MB / 0.7399 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.6311, allocations: 12.16 kB / 0.7399 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.6311, allocations: 15.94 kB / 0.7399 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.6312, allocations: 16 kB / 0.7399 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6322, allocations: 287.6 kB / 0.7402 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.6323, allocations: 23.92 kB / 0.7402 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.6339, allocations: 166.4 kB / 0.7404 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.634, allocations: 51.98 kB / 0.7404 GB, free: 6.512 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007669/0.6348, allocations: 433.4 kB / 0.7408 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006063/0.6354, allocations: 193.7 kB / 0.741 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.6374, allocations: 0.8714 MB / 0.7419 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.6375, allocations: 12 kB / 0.7419 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6375, allocations: 0 / 0.7419 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.6389, allocations: 0.7918 MB / 0.7426 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.6438, allocations: 2.455 MB / 0.745 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6438, allocations: 7.938 kB / 0.7451 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.6446, allocations: 176 kB / 0.7452 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.6447, allocations: 8 kB / 0.7452 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.6447, allocations: 15.98 kB / 0.7452 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.6447, allocations: 15.88 kB / 0.7453 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.6447, allocations: 3.984 kB / 0.7453 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.6474, allocations: 1.335 MB / 0.7466 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/0.6483, allocations: 378.4 kB / 0.7469 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/0.6488, allocations: 12 kB / 0.7469 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.6501, allocations: 63.83 kB / 0.747 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.6502, allocations: 52.48 kB / 0.747 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.6503, allocations: 35.98 kB / 0.7471 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002041/0.6524, allocations: 1.243 MB / 0.7483 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6524, allocations: 0 / 0.7483 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002305/0.6547, allocations: 0.6629 MB / 0.7489 GB, free: 13.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00416/0.6589, allocations: 2.39 MB / 0.7513 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.661, allocations: 0.8937 MB / 0.7522 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.661, allocations: 0 / 0.7522 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.6617, allocations: 356.3 kB / 0.7525 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/0.6678, allocations: 1.211 MB / 0.7537 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.6896, allocations: 14.22 MB / 0.7676 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.6907, allocations: 1.405 MB / 0.7689 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00164/0.6923, allocations: 385.6 kB / 0.7693 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009953/0.6934, allocations: 0.7687 MB / 0.7701 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.6934, allocations: 0 / 0.7701 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09617/0.7895, allocations: 57.79 MB / 0.8265 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.434/10.22, allocations: 13.62 kB / 0.8265 GB, free: 13.72 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)