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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001164/0.001164, 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.001553/0.001553, allocations: 193 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 1.005/1.005, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001958, allocations: 71.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3209/0.484, allocations: 41.55 MB / 0.635 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.5016, allocations: 10.4 MB / 0.6451 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.5043, allocations: 60.84 kB / 0.6452 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.5069, allocations: 0.6347 MB / 0.6458 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006079/0.513, allocations: 1.892 MB / 0.6477 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.5168, allocations: 1.177 MB / 0.6488 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004782/0.5216, allocations: 3.389 MB / 0.6521 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.5233, allocations: 1.059 MB / 0.6531 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.5265, allocations: 1.233 MB / 0.6544 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.528, allocations: 0.8824 MB / 0.6552 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.5282, allocations: 99.38 kB / 0.6553 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.5308, allocations: 0.8599 MB / 0.6561 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.5311, allocations: 280.6 kB / 0.6564 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008324/0.532, allocations: 0.6299 MB / 0.657 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.5352, allocations: 1.999 MB / 0.659 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5353, allocations: 0 / 0.659 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5353, allocations: 0.9375 kB / 0.659 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.603e-05/0.5353, allocations: 0 / 0.659 GB, free: 5.43 MB / 0.4981 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.002977/0.5383, allocations: 1.515 MB / 0.6605 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5383, allocations: 10 kB / 0.6605 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.5385, allocations: 115.2 kB / 0.6606 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.539, allocations: 133.9 kB / 0.6607 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.5411, allocations: 1.054 MB / 0.6617 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.5412, allocations: 52.47 kB / 0.6618 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5413, allocations: 72.53 kB / 0.6619 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.5431, allocations: 0.7963 MB / 0.6626 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.5432, allocations: 2.062 kB / 0.6626 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.5432, allocations: 38.5 kB / 0.6627 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.5433, allocations: 19.42 kB / 0.6627 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.5449, allocations: 0.5703 MB / 0.6632 GB, free: 2.949 MB / 0.4981 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.005352/0.5502, allocations: 3.571 MB / 0.6667 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.551, allocations: 261.9 kB / 0.667 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.5515, allocations: 176 kB / 0.6672 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/0.5522, allocations: 0.6631 MB / 0.6678 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5522, allocations: 42.22 kB / 0.6678 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.926e-06/0.5523, allocations: 0 / 0.6678 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001569/0.5538, allocations: 0.5132 MB / 0.6683 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5539, allocations: 55.47 kB / 0.6684 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.5554, allocations: 0.9433 MB / 0.6693 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.5555, allocations: 37.23 kB / 0.6694 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.556, allocations: 0.4885 MB / 0.6698 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.5561, allocations: 116.1 kB / 0.6699 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.5563, allocations: 114.8 kB / 0.6701 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5565, allocations: 337.4 kB / 0.6704 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.5569, allocations: 161.7 kB / 0.6705 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.5575, allocations: 351 kB / 0.6709 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5588, allocations: 0.5079 MB / 0.6714 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.5588, allocations: 7.156 kB / 0.6714 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00173/0.5605, allocations: 0.611 MB / 0.672 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.5606, allocations: 7.812 kB / 0.672 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.5606, allocations: 5.266 kB / 0.672 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.5606, allocations: 9.312 kB / 0.672 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.5612, allocations: 122.6 kB / 0.6721 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.5612, allocations: 13.88 kB / 0.6721 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.5621, allocations: 91.05 kB / 0.6722 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.5622, allocations: 25.28 kB / 0.6722 GB, free: 12.82 MB / 0.5137 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.0003981/0.5626, allocations: 283.1 kB / 0.6725 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.5629, allocations: 96.91 kB / 0.6726 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.5641, allocations: 486.2 kB / 0.673 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.5641, allocations: 4.406 kB / 0.6731 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.5641, allocations: 0.6094 kB / 0.6731 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00089/0.565, allocations: 453.7 kB / 0.6735 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.5676, allocations: 1.363 MB / 0.6748 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5676, allocations: 2.312 kB / 0.6748 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.5679, allocations: 81.97 kB / 0.6749 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.5679, allocations: 6.688 kB / 0.6749 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.568, allocations: 11.2 kB / 0.6749 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.568, allocations: 1.844 kB / 0.6749 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.568, allocations: 6.234 kB / 0.6749 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5694, allocations: 0.7543 MB / 0.6757 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.5699, allocations: 233.7 kB / 0.6759 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.57, allocations: 11.95 kB / 0.6759 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.5706, allocations: 28.05 kB / 0.6759 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.5707, allocations: 33.22 kB / 0.676 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.5707, allocations: 23.81 kB / 0.676 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009173/0.5716, allocations: 0.6581 MB / 0.6766 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5717, allocations: 4 kB / 0.6766 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001044/0.5727, allocations: 338.6 kB / 0.6769 GB, free: 10.38 MB / 0.5137 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.002189/0.5749, allocations: 1.599 MB / 0.6785 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009573/0.5759, allocations: 450.5 kB / 0.6789 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5759, allocations: 1.375 kB / 0.6789 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.5763, allocations: 184.7 kB / 0.6791 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.5789, allocations: 0.6131 MB / 0.6797 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009745/0.5887, allocations: 7.241 MB / 0.6868 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.5894, allocations: 1.038 MB / 0.6878 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.5903, allocations: 200.8 kB / 0.688 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.5907, allocations: 373.5 kB / 0.6883 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.5908, allocations: 1.094 kB / 0.6883 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08361/0.6744, allocations: 29.81 MB / 0.7175 GB, free: 14.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.442/9.117, allocations: 13.77 kB / 0.7175 GB, free: 14.79 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)