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-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.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.007614/0.007614, allocations: 102.1 kB / 15.73 MB, free: 6 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.001778/0.001778, allocations: 184.2 kB / 16.67 MB, free: 5.926 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.9617/0.9617, allocations: 143.3 MB / 433.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 64.94 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1528, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04685/0.1997, allocations: 41.58 MB / 0.716 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2158, allocations: 10.41 MB / 0.7262 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.2176, allocations: 55.69 kB / 0.7262 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.2195, allocations: 0.6443 MB / 0.7269 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.2249, allocations: 1.881 MB / 0.7287 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.2282, allocations: 1.192 MB / 0.7299 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005313/0.2335, allocations: 3.379 MB / 0.7332 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.2352, allocations: 1.072 MB / 0.7342 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.2383, allocations: 1.227 MB / 0.7354 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.2398, allocations: 0.8867 MB / 0.7363 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.24, allocations: 100 kB / 0.7364 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.2421, allocations: 0.8578 MB / 0.7372 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.2424, allocations: 283 kB / 0.7375 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008135/0.2432, allocations: 0.6298 MB / 0.7381 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.2465, allocations: 2.032 MB / 0.7401 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2465, allocations: 0 / 0.7401 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2465, allocations: 3.938 kB / 0.7401 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.2466, allocations: 4 kB / 0.7401 GB, free: 8.152 MB / 0.5762 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.002721/0.2493, allocations: 1.548 MB / 0.7416 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2493, allocations: 8.031 kB / 0.7416 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.2495, allocations: 114.6 kB / 0.7417 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.2499, allocations: 144.1 kB / 0.7419 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.2518, allocations: 1.12 MB / 0.743 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.2519, allocations: 58 kB / 0.743 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.252, allocations: 76 kB / 0.7431 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.2535, allocations: 0.7866 MB / 0.7438 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.2535, allocations: 11.98 kB / 0.7439 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.2536, allocations: 28 kB / 0.7439 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.2537, allocations: 20 kB / 0.7439 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2549, allocations: 0.5633 MB / 0.7445 GB, free: 3.539 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.301/0.5559, allocations: 3.558 MB / 0.7479 GB, free: 70.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.5567, allocations: 258.2 kB / 0.7482 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.5571, allocations: 176.4 kB / 0.7483 GB, free: 70.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.5576, allocations: 0.658 MB / 0.749 GB, free: 69.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5576, allocations: 37.41 kB / 0.749 GB, free: 69.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.5576, allocations: 1.031 kB / 0.749 GB, free: 69.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001534/0.5592, allocations: 0.5227 MB / 0.7495 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5592, allocations: 54.91 kB / 0.7496 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.5606, allocations: 0.95 MB / 0.7505 GB, free: 69.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.5606, allocations: 33.39 kB / 0.7505 GB, free: 69.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.561, allocations: 0.4963 MB / 0.751 GB, free: 69.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5611, allocations: 122.3 kB / 0.7511 GB, free: 69.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.5613, allocations: 112.6 kB / 0.7513 GB, free: 69.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.5614, allocations: 331.2 kB / 0.7516 GB, free: 68.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.5617, allocations: 173.1 kB / 0.7517 GB, free: 68.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.5621, allocations: 348.1 kB / 0.7521 GB, free: 68.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.5629, allocations: 0.5136 MB / 0.7526 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5629, allocations: 2.219 kB / 0.7526 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001073/0.564, allocations: 0.6223 MB / 0.7532 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.564, allocations: 7.938 kB / 0.7532 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.564, allocations: 4.031 kB / 0.7532 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.5641, allocations: 9.422 kB / 0.7532 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.5645, allocations: 123 kB / 0.7533 GB, free: 68.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.5645, allocations: 12.09 kB / 0.7533 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.5652, allocations: 85.09 kB / 0.7534 GB, free: 68.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.5652, allocations: 31.92 kB / 0.7534 GB, free: 68.01 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.0003216/0.5656, allocations: 278.5 kB / 0.7537 GB, free: 67.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.5657, allocations: 104.7 kB / 0.7538 GB, free: 67.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.5667, allocations: 484.1 kB / 0.7543 GB, free: 67.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5667, allocations: 8.484 kB / 0.7543 GB, free: 67.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5668, allocations: 0.7812 kB / 0.7543 GB, free: 67.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007432/0.5675, allocations: 457.1 kB / 0.7547 GB, free: 67.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.5697, allocations: 1.369 MB / 0.756 GB, free: 66.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5697, allocations: 4 kB / 0.7561 GB, free: 66.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.5701, allocations: 76.78 kB / 0.7561 GB, free: 66.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5701, allocations: 2.438 kB / 0.7561 GB, free: 66.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.5701, allocations: 10 kB / 0.7561 GB, free: 66.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.5701, allocations: 8.469 kB / 0.7561 GB, free: 66.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5701, allocations: 1.938 kB / 0.7561 GB, free: 66.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.5716, allocations: 0.7783 MB / 0.7569 GB, free: 66.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.5719, allocations: 230.7 kB / 0.7571 GB, free: 65.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.572, allocations: 8.406 kB / 0.7571 GB, free: 65.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.5725, allocations: 34.39 kB / 0.7572 GB, free: 65.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.5726, allocations: 28.22 kB / 0.7572 GB, free: 65.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.5727, allocations: 23.92 kB / 0.7572 GB, free: 65.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009753/0.5736, allocations: 0.6574 MB / 0.7579 GB, free: 65.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5737, allocations: 4.219 kB / 0.7579 GB, free: 65.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0011/0.5748, allocations: 340.3 kB / 0.7582 GB, free: 65.62 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.00235/0.5771, allocations: 1.596 MB / 0.7597 GB, free: 64.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009084/0.578, allocations: 428.2 kB / 0.7602 GB, free: 64.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5781, allocations: 0 / 0.7602 GB, free: 64.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.5784, allocations: 198.2 kB / 0.7603 GB, free: 64.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.5811, allocations: 0.6114 MB / 0.7609 GB, free: 64.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/0.59, allocations: 6.851 MB / 0.7676 GB, free: 60.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.5906, allocations: 1.037 MB / 0.7686 GB, free: 59.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008052/0.5914, allocations: 200 kB / 0.7688 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.5918, allocations: 373 kB / 0.7692 GB, free: 59.64 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.5918, allocations: 0 / 0.7692 GB, free: 59.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.6477, allocations: 30.01 MB / 0.7985 GB, free: 38.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.94, allocations: 6.672 kB / 0.7985 GB, free: 38.86 MB / 0.5762 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)