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.005343/0.005343, allocations: 103.6 kB / 15.73 MB, free: 6.008 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.001175/0.001175, allocations: 197.4 kB / 16.68 MB, free: 5.934 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 / 240.4 MB, free: 15.09 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.8667/0.8667, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 60.44 kB / 0.595 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 82.05 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4548/0.62, allocations: 77.14 MB / 0.7505 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.6446, allocations: 18.91 MB / 0.769 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004548/0.6491, allocations: 112.3 kB / 0.7691 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003945/0.6531, allocations: 1.247 MB / 0.7703 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.6668, allocations: 3.631 MB / 0.7738 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007339/0.6741, allocations: 2.097 MB / 0.7759 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.6864, allocations: 6.682 MB / 0.7824 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.6902, allocations: 2.093 MB / 0.7845 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006473/0.6967, allocations: 2.368 MB / 0.7868 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/0.7016, allocations: 1.763 MB / 0.7885 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.7024, allocations: 199.8 kB / 0.7887 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006235/0.7087, allocations: 1.617 MB / 0.7903 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.7096, allocations: 0.5393 MB / 0.7908 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002767/0.7123, allocations: 1.245 MB / 0.792 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008839/0.7212, allocations: 3.927 MB / 0.7958 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.7213, allocations: 6.062 kB / 0.7959 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7213, allocations: 0 / 0.7959 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.646e-05/0.7214, allocations: 1.594 kB / 0.7959 GB, free: 12.67 MB / 0.5919 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.005804/0.7272, allocations: 2.709 MB / 0.7985 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.7273, allocations: 15.22 kB / 0.7985 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.7275, allocations: 201.6 kB / 0.7987 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.7283, allocations: 267.7 kB / 0.799 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/0.732, allocations: 2.027 MB / 0.8009 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/0.7321, allocations: 114.9 kB / 0.8011 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.7323, allocations: 141 kB / 0.8012 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.7349, allocations: 1.517 MB / 0.8027 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.7349, allocations: 0 / 0.8027 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.7351, allocations: 58.08 kB / 0.8027 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.7351, allocations: 50.23 kB / 0.8028 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.7372, allocations: 1.122 MB / 0.8039 GB, free: 7.48 MB / 0.5919 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.008811/0.7461, allocations: 7.611 MB / 0.8113 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.747, allocations: 480.9 kB / 0.8118 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.7476, allocations: 349.1 kB / 0.8121 GB, free: 288 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000867/0.7485, allocations: 1.146 MB / 0.8132 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.7486, allocations: 41.62 kB / 0.8132 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.825e-06/0.7486, allocations: 0 / 0.8132 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002392/0.751, allocations: 0.9644 MB / 0.8142 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.751, allocations: 64.16 kB / 0.8143 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.7533, allocations: 1.778 MB / 0.816 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.7534, allocations: 42.61 kB / 0.816 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/0.7542, allocations: 0.9351 MB / 0.8169 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.7545, allocations: 221 kB / 0.8172 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.7548, allocations: 224.9 kB / 0.8174 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.755, allocations: 348.8 kB / 0.8177 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.7556, allocations: 332.3 kB / 0.818 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.7566, allocations: 0.6866 MB / 0.8187 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.7583, allocations: 1.015 MB / 0.8197 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.7583, allocations: 2.781 kB / 0.8197 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002994/0.7613, allocations: 1.216 MB / 0.8209 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.7614, allocations: 11.25 kB / 0.8209 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.7614, allocations: 13.41 kB / 0.8209 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.7615, allocations: 15.69 kB / 0.8209 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.7626, allocations: 287.4 kB / 0.8212 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/0.7626, allocations: 26.34 kB / 0.8212 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.7641, allocations: 164.3 kB / 0.8214 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/0.7642, allocations: 52.59 kB / 0.8214 GB, free: 9.496 MB / 0.6075 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.0007663/0.765, allocations: 434.5 kB / 0.8218 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.7654, allocations: 194.4 kB / 0.822 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.7671, allocations: 0.8631 MB / 0.8229 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.7671, allocations: 7.984 kB / 0.8229 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7671, allocations: 0 / 0.8229 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/0.7684, allocations: 0.7995 MB / 0.8236 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.7724, allocations: 2.449 MB / 0.826 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.7724, allocations: 11.88 kB / 0.826 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.7732, allocations: 180 kB / 0.8262 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.7732, allocations: 4 kB / 0.8262 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.7733, allocations: 23.92 kB / 0.8262 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.7733, allocations: 4 kB / 0.8262 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7733, allocations: 4 kB / 0.8263 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.7761, allocations: 1.333 MB / 0.8276 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.7773, allocations: 374.3 kB / 0.8279 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.7776, allocations: 16 kB / 0.8279 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009703/0.7785, allocations: 68.41 kB / 0.828 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.7787, allocations: 48.5 kB / 0.828 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.7788, allocations: 35.97 kB / 0.8281 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001787/0.7805, allocations: 1.235 MB / 0.8293 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.735e-06/0.7806, allocations: 0 / 0.8293 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002331/0.7829, allocations: 0.6628 MB / 0.8299 GB, free: 0.7539 MB / 0.6075 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.004004/0.7869, allocations: 2.416 MB / 0.8323 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.7887, allocations: 0.8159 MB / 0.8331 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7887, allocations: 0.625 kB / 0.8331 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.7894, allocations: 362.9 kB / 0.8334 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/0.7951, allocations: 1.193 MB / 0.8346 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/0.8174, allocations: 12.55 MB / 0.8469 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.8188, allocations: 1.409 MB / 0.8482 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001835/0.8207, allocations: 378.2 kB / 0.8486 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.8218, allocations: 0.7648 MB / 0.8493 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.8218, allocations: 0 / 0.8493 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/0.9318, allocations: 58.97 MB / 0.9069 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.69, allocations: 17.27 kB / 0.9069 GB, free: 2.137 MB / 0.6856 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)