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.005258/0.005258, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001167/0.001167, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.9694/0.9694, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4177, allocations: 82.03 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04092/0.4587, allocations: 41.57 MB / 0.7158 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.4748, allocations: 10.41 MB / 0.7259 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.4779, allocations: 59.62 kB / 0.726 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.4806, allocations: 0.6443 MB / 0.7266 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.4868, allocations: 1.881 MB / 0.7285 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.4902, allocations: 1.179 MB / 0.7296 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004702/0.4949, allocations: 3.399 MB / 0.7329 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.4967, allocations: 1.062 MB / 0.734 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/0.4999, allocations: 1.257 MB / 0.7352 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.5015, allocations: 0.8828 MB / 0.7361 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.5018, allocations: 108 kB / 0.7362 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.5041, allocations: 0.8539 MB / 0.737 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.5045, allocations: 286.9 kB / 0.7373 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.5056, allocations: 0.6337 MB / 0.7379 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.5091, allocations: 2.021 MB / 0.7399 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.5091, allocations: 4 kB / 0.7399 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5091, allocations: 0 / 0.7399 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.961e-05/0.5092, allocations: 0 / 0.7399 GB, free: 3.961 MB / 0.5606 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.002937/0.5121, allocations: 1.522 MB / 0.7413 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5122, allocations: 8.031 kB / 0.7414 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.5124, allocations: 114.7 kB / 0.7415 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.5128, allocations: 131.4 kB / 0.7416 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.5147, allocations: 1.107 MB / 0.7427 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.5147, allocations: 54 kB / 0.7427 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5148, allocations: 75.91 kB / 0.7428 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5162, allocations: 0.7866 MB / 0.7436 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.5162, allocations: 4 kB / 0.7436 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.5163, allocations: 24 kB / 0.7436 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.5163, allocations: 24.05 kB / 0.7436 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.5174, allocations: 0.575 MB / 0.7442 GB, free: 15.4 MB / 0.5762 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.004212/0.5216, allocations: 3.556 MB / 0.7476 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.5222, allocations: 260.8 kB / 0.7479 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.5225, allocations: 178.2 kB / 0.7481 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.523, allocations: 0.657 MB / 0.7487 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.5231, allocations: 46.39 kB / 0.7488 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 4.088e-06/0.5231, allocations: 0 / 0.7488 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001181/0.5243, allocations: 0.5163 MB / 0.7493 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.5243, allocations: 55.41 kB / 0.7493 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5256, allocations: 0.9495 MB / 0.7502 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.5256, allocations: 37.7 kB / 0.7503 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.526, allocations: 0.4917 MB / 0.7508 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5262, allocations: 110.4 kB / 0.7509 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.5263, allocations: 122 kB / 0.751 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5264, allocations: 325.9 kB / 0.7513 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.5268, allocations: 165 kB / 0.7514 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.5273, allocations: 354.9 kB / 0.7518 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007895/0.5281, allocations: 0.5077 MB / 0.7523 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5281, allocations: 4 kB / 0.7523 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001143/0.5292, allocations: 0.6058 MB / 0.7529 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5293, allocations: 12.12 kB / 0.7529 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5293, allocations: 11.92 kB / 0.7529 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.5293, allocations: 8.062 kB / 0.7529 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.5298, allocations: 127.8 kB / 0.753 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.5298, allocations: 8 kB / 0.753 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.5304, allocations: 83.19 kB / 0.7531 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.5305, allocations: 31.92 kB / 0.7531 GB, free: 5.605 MB / 0.5762 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.0003611/0.5308, allocations: 281.6 kB / 0.7534 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.5311, allocations: 98.78 kB / 0.7535 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/0.532, allocations: 480.4 kB / 0.754 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.532, allocations: 4 kB / 0.754 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.532, allocations: 4 kB / 0.754 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006625/0.5327, allocations: 455.3 kB / 0.7544 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.5348, allocations: 1.362 MB / 0.7557 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5348, allocations: 0 / 0.7557 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.5352, allocations: 79.83 kB / 0.7558 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.5352, allocations: 0 / 0.7558 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.5352, allocations: 11.98 kB / 0.7558 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.5352, allocations: 4 kB / 0.7558 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/0.5353, allocations: 12.03 kB / 0.7558 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.5366, allocations: 0.7676 MB / 0.7566 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.537, allocations: 227.7 kB / 0.7568 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.5372, allocations: 8 kB / 0.7568 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.5377, allocations: 31.95 kB / 0.7568 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.5378, allocations: 31.97 kB / 0.7569 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.5378, allocations: 19.98 kB / 0.7569 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009044/0.5388, allocations: 0.6549 MB / 0.7575 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5388, allocations: 0 / 0.7575 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009922/0.5398, allocations: 339.4 kB / 0.7579 GB, free: 0.6055 MB / 0.5762 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.00227/0.542, allocations: 1.601 MB / 0.7594 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009176/0.543, allocations: 420.5 kB / 0.7598 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.543, allocations: 0 / 0.7598 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.5434, allocations: 197.3 kB / 0.76 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.5459, allocations: 0.6094 MB / 0.7606 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.5558, allocations: 6.814 MB / 0.7673 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.5565, allocations: 1.036 MB / 0.7683 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007702/0.5573, allocations: 199.7 kB / 0.7685 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.5578, allocations: 379.2 kB / 0.7688 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.5578, allocations: 0 / 0.7688 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/0.6191, allocations: 30.45 MB / 0.7986 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.382/10, allocations: 21.69 kB / 0.7986 GB, free: 7.027 MB / 0.6231 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)