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.001053/0.001053, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001036/0.001036, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.9433/0.9433, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.5138 GB, free: 11.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1497, allocations: 82.05 MB / 0.5939 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2969/0.4467, allocations: 76.48 MB / 0.6686 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.4717, allocations: 18.77 MB / 0.6869 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.4756, allocations: 103.8 kB / 0.687 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.4792, allocations: 1.085 MB / 0.6881 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009646/0.4889, allocations: 3.398 MB / 0.6914 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005464/0.4944, allocations: 1.936 MB / 0.6933 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009724/0.5041, allocations: 6.712 MB / 0.6998 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003422/0.5076, allocations: 2.068 MB / 0.7019 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.5132, allocations: 2.336 MB / 0.7041 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.5164, allocations: 1.808 MB / 0.7059 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005896/0.517, allocations: 201.9 kB / 0.7061 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004589/0.5216, allocations: 1.644 MB / 0.7077 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008401/0.5224, allocations: 0.534 MB / 0.7082 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002873/0.5253, allocations: 1.257 MB / 0.7095 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.5316, allocations: 3.909 MB / 0.7133 GB, free: 76 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5317, allocations: 0 / 0.7133 GB, free: 76 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5317, allocations: 0 / 0.7133 GB, free: 76 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.327e-05/0.5317, allocations: 1.188 kB / 0.7133 GB, free: 76 kB / 0.5294 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.00467/0.5364, allocations: 2.715 MB / 0.7159 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5364, allocations: 8.781 kB / 0.7159 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002309/0.5367, allocations: 203.4 kB / 0.7161 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.5374, allocations: 267.5 kB / 0.7164 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.5404, allocations: 1.995 MB / 0.7183 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.5405, allocations: 104.9 kB / 0.7184 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.5407, allocations: 151.4 kB / 0.7186 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.5431, allocations: 1.517 MB / 0.7201 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.5431, allocations: 0 / 0.7201 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.5433, allocations: 65.75 kB / 0.7201 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.5433, allocations: 41.12 kB / 0.7202 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.5453, allocations: 1.121 MB / 0.7213 GB, free: 10.57 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.008013/0.5534, allocations: 7.583 MB / 0.7287 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.5543, allocations: 476.6 kB / 0.7291 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.555, allocations: 330.3 kB / 0.7294 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/0.5558, allocations: 1.152 MB / 0.7306 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5558, allocations: 43.06 kB / 0.7306 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.425e-06/0.5558, allocations: 4 kB / 0.7306 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.00226/0.5581, allocations: 0.9612 MB / 0.7315 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5582, allocations: 59.91 kB / 0.7316 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.5602, allocations: 1.755 MB / 0.7333 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.5603, allocations: 49.69 kB / 0.7334 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/0.561, allocations: 0.92 MB / 0.7343 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.5612, allocations: 228.9 kB / 0.7345 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.5615, allocations: 226.7 kB / 0.7347 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5617, allocations: 353.9 kB / 0.735 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.5623, allocations: 330.4 kB / 0.7353 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.5632, allocations: 0.6899 MB / 0.736 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.5647, allocations: 1.012 MB / 0.737 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.5648, allocations: 4 kB / 0.737 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00212/0.5669, allocations: 1.218 MB / 0.7382 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5669, allocations: 8 kB / 0.7382 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5669, allocations: 12 kB / 0.7382 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.567, allocations: 16 kB / 0.7382 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009647/0.5679, allocations: 283.6 kB / 0.7385 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.568, allocations: 23.92 kB / 0.7385 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.5695, allocations: 238.4 kB / 0.7387 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.5696, allocations: 48 kB / 0.7388 GB, free: 8.055 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.0006417/0.5702, allocations: 445.3 kB / 0.7392 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.5705, allocations: 189.7 kB / 0.7394 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.5722, allocations: 0.8708 MB / 0.7403 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5722, allocations: 4 kB / 0.7403 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5722, allocations: 3.984 kB / 0.7403 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.5735, allocations: 0.7995 MB / 0.741 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.5772, allocations: 2.435 MB / 0.7434 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5773, allocations: 11.88 kB / 0.7434 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.578, allocations: 187.9 kB / 0.7436 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.578, allocations: 4 kB / 0.7436 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.5781, allocations: 20 kB / 0.7436 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.5781, allocations: 4 kB / 0.7436 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5781, allocations: 4 kB / 0.7436 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5803, allocations: 1.339 MB / 0.7449 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005883/0.5809, allocations: 366.4 kB / 0.7453 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.5811, allocations: 16 kB / 0.7453 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5822, allocations: 115.7 kB / 0.7454 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5823, allocations: 52.42 kB / 0.7455 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.5824, allocations: 31.98 kB / 0.7455 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001494/0.5839, allocations: 1.216 MB / 0.7467 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5839, allocations: 0 / 0.7467 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001718/0.5856, allocations: 0.6434 MB / 0.7473 GB, free: 15.09 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.003499/0.5891, allocations: 2.384 MB / 0.7496 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.591, allocations: 0.8906 MB / 0.7505 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.591, allocations: 4 kB / 0.7505 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.5916, allocations: 354.9 kB / 0.7509 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/0.5963, allocations: 1.208 MB / 0.752 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/0.6234, allocations: 14.73 MB / 0.7664 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008424/0.6243, allocations: 1.409 MB / 0.7678 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001467/0.6258, allocations: 387.9 kB / 0.7682 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/0.6266, allocations: 0.7609 MB / 0.7689 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of SimCode: time 6.32e-07/0.6266, allocations: 0 / 0.7689 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.472/2.099, allocations: 56.65 MB / 0.8242 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/2.099, allocations: 268.5 kB / 0.8245 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/5.66, allocations: 4.062 kB / 0.8245 GB, free: 15.62 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)