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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.008671/0.008671, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001881/0.001881, allocations: 194.7 kB / 16.68 MB, free: 5.91 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9269/0.9269, allocations: 143.3 MB / 433.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.53 kB / 0.5953 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1642, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4408/0.6051, allocations: 77.15 MB / 0.7508 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.6284, allocations: 18.91 MB / 0.7692 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005128/0.6336, allocations: 112.7 kB / 0.7693 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.6373, allocations: 1.252 MB / 0.7706 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009877/0.6472, allocations: 3.622 MB / 0.7741 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005335/0.6526, allocations: 2.096 MB / 0.7761 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008613/0.6612, allocations: 6.683 MB / 0.7827 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/0.6642, allocations: 2.092 MB / 0.7847 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.6694, allocations: 2.315 MB / 0.787 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003497/0.6729, allocations: 1.762 MB / 0.7887 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006185/0.6735, allocations: 199.7 kB / 0.7889 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/0.679, allocations: 1.621 MB / 0.7905 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009335/0.68, allocations: 0.5293 MB / 0.791 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.6826, allocations: 1.256 MB / 0.7922 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/0.6904, allocations: 3.931 MB / 0.7961 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6905, allocations: 0 / 0.7961 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6905, allocations: 0 / 0.7961 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001032/0.6906, allocations: 6.531 kB / 0.7961 GB, free: 12.59 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.005993/0.6966, allocations: 2.801 MB / 0.7988 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6967, allocations: 7.938 kB / 0.7988 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003022/0.697, allocations: 198 kB / 0.799 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/0.6979, allocations: 281.2 kB / 0.7993 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.7018, allocations: 2.045 MB / 0.8013 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-05/0.7019, allocations: 104.3 kB / 0.8014 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.7022, allocations: 142.9 kB / 0.8015 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.7051, allocations: 1.527 MB / 0.803 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.7052, allocations: 4 kB / 0.803 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.7053, allocations: 57.91 kB / 0.803 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/0.7054, allocations: 37.34 kB / 0.8031 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.7078, allocations: 1.129 MB / 0.8042 GB, free: 7.309 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.01074/0.7185, allocations: 7.628 MB / 0.8116 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.7196, allocations: 479.5 kB / 0.8121 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/0.7203, allocations: 340.5 kB / 0.8124 GB, free: 108 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.7213, allocations: 1.147 MB / 0.8135 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.7213, allocations: 44.5 kB / 0.8136 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.815e-06/0.7213, allocations: 0 / 0.8136 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002496/0.7238, allocations: 0.9684 MB / 0.8145 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.7239, allocations: 57.03 kB / 0.8146 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.7263, allocations: 1.796 MB / 0.8163 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.7265, allocations: 38.64 kB / 0.8164 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008933/0.7274, allocations: 0.9478 MB / 0.8173 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.7276, allocations: 232.2 kB / 0.8175 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.728, allocations: 224.3 kB / 0.8177 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.7281, allocations: 357.7 kB / 0.8181 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.7288, allocations: 331.8 kB / 0.8184 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.7299, allocations: 0.684 MB / 0.819 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.7317, allocations: 1.012 MB / 0.82 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.7317, allocations: 2.062 kB / 0.82 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002663/0.7344, allocations: 1.222 MB / 0.8212 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.7344, allocations: 13.28 kB / 0.8212 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.7345, allocations: 9.469 kB / 0.8213 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.053e-05/0.7345, allocations: 19.91 kB / 0.8213 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7356, allocations: 291.3 kB / 0.8216 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.7356, allocations: 19.19 kB / 0.8216 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.7371, allocations: 169.5 kB / 0.8217 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.7373, allocations: 52.17 kB / 0.8218 GB, free: 9.273 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.0008133/0.7381, allocations: 446.1 kB / 0.8222 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/0.7385, allocations: 199 kB / 0.8224 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.7405, allocations: 0.8695 MB / 0.8232 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.7406, allocations: 8 kB / 0.8233 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.7406, allocations: 3.984 kB / 0.8233 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/0.7421, allocations: 0.7957 MB / 0.824 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/0.7469, allocations: 2.458 MB / 0.8264 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.7469, allocations: 3.938 kB / 0.8264 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/0.7477, allocations: 179.8 kB / 0.8266 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.7477, allocations: 4.219 kB / 0.8266 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.7478, allocations: 24 kB / 0.8266 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.7478, allocations: 7.938 kB / 0.8266 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7478, allocations: 4 kB / 0.8266 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.7507, allocations: 1.347 MB / 0.828 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/0.7517, allocations: 379.5 kB / 0.8283 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.752, allocations: 16 kB / 0.8283 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.753, allocations: 69.41 kB / 0.8284 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.7532, allocations: 48.5 kB / 0.8285 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.7533, allocations: 35.97 kB / 0.8285 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002087/0.7554, allocations: 1.239 MB / 0.8297 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7554, allocations: 0 / 0.8297 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002074/0.7575, allocations: 0.6587 MB / 0.8303 GB, free: 0.5 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.004413/0.7619, allocations: 2.426 MB / 0.8327 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.7638, allocations: 0.8192 MB / 0.8335 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7639, allocations: 1.375 kB / 0.8335 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.7647, allocations: 367.4 kB / 0.8339 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005892/0.7706, allocations: 1.186 MB / 0.835 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.7936, allocations: 12.64 MB / 0.8474 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.795, allocations: 1.405 MB / 0.8487 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001671/0.7967, allocations: 381.3 kB / 0.8491 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7979, allocations: 0.7687 MB / 0.8498 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.7979, allocations: 0 / 0.8498 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.9179, allocations: 58.09 MB / 0.9066 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.61, allocations: 15.8 kB / 0.9066 GB, free: 2.738 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)