Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_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.0007123/0.0007125, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007424/0.0007425, allocations: 175.2 kB / 16.58 MB, free: 6.066 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.162/1.162, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5934/0.5934, allocations: 113.7 MB / 405.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002608, allocations: 8.5 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1158, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2453/0.3612, allocations: 38.27 MB / 0.5943 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3716, allocations: 9.747 MB / 0.6038 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.3727, allocations: 48.09 kB / 0.6038 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3738, allocations: 456.3 kB / 0.6043 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.3769, allocations: 1.477 MB / 0.6057 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.3791, allocations: 0.8606 MB / 0.6065 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.3832, allocations: 3.862 MB / 0.6103 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.3842, allocations: 0.7347 MB / 0.611 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.3856, allocations: 0.9853 MB / 0.612 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008021/0.3864, allocations: 0.8069 MB / 0.6128 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/0.3865, allocations: 41.31 kB / 0.6128 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.3879, allocations: 491.4 kB / 0.6133 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3881, allocations: 197.9 kB / 0.6135 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.3883, allocations: 264 kB / 0.6137 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.3894, allocations: 1.382 MB / 0.6151 GB, free: 5.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3894, allocations: 0 / 0.6151 GB, free: 5.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3894, allocations: 1.438 kB / 0.6151 GB, free: 5.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3894, allocations: 0 / 0.6151 GB, free: 5.98 MB / 446.1 MB 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.001769/0.3912, allocations: 1.31 MB / 0.6164 GB, free: 21.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3913, allocations: 13.12 kB / 0.6164 GB, free: 21.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.3914, allocations: 117.2 kB / 0.6165 GB, free: 21.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.3917, allocations: 133.5 kB / 0.6166 GB, free: 20.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.3929, allocations: 1.046 MB / 0.6176 GB, free: 20.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.393, allocations: 59.11 kB / 0.6177 GB, free: 20.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.3931, allocations: 74.89 kB / 0.6178 GB, free: 20.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3942, allocations: 0.7968 MB / 0.6185 GB, free: 19.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3942, allocations: 3.953 kB / 0.6185 GB, free: 19.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.3943, allocations: 28.09 kB / 0.6186 GB, free: 19.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.3943, allocations: 21.89 kB / 0.6186 GB, free: 19.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009428/0.3953, allocations: 0.587 MB / 0.6192 GB, free: 19.55 MB / 462.1 MB 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.002922/0.3982, allocations: 3.553 MB / 0.6226 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.3987, allocations: 271.9 kB / 0.6229 GB, free: 16.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.399, allocations: 194 kB / 0.6231 GB, free: 16.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.3993, allocations: 0.6551 MB / 0.6237 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3993, allocations: 35.59 kB / 0.6238 GB, free: 15.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.654e-06/0.3994, allocations: 1.438 kB / 0.6238 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009434/0.4003, allocations: 0.5426 MB / 0.6243 GB, free: 15.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.4003, allocations: 54.62 kB / 0.6243 GB, free: 15.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.4014, allocations: 0.9271 MB / 0.6252 GB, free: 14.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4014, allocations: 32.45 kB / 0.6253 GB, free: 14.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.4018, allocations: 497.5 kB / 0.6258 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.4019, allocations: 112.4 kB / 0.6259 GB, free: 14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.4019, allocations: 10.75 kB / 0.6259 GB, free: 14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.402, allocations: 335.5 kB / 0.6262 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4024, allocations: 165.3 kB / 0.6263 GB, free: 13.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.4028, allocations: 363.4 kB / 0.6267 GB, free: 13.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.4032, allocations: 226.5 kB / 0.6269 GB, free: 13.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4032, allocations: 7.109 kB / 0.6269 GB, free: 13.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001017/0.4042, allocations: 0.6413 MB / 0.6275 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4043, allocations: 11.38 kB / 0.6276 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.4043, allocations: 4.906 kB / 0.6276 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4043, allocations: 9.594 kB / 0.6276 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.4047, allocations: 134.3 kB / 0.6277 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.4047, allocations: 11.66 kB / 0.6277 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4054, allocations: 116.2 kB / 0.6278 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.4055, allocations: 23.78 kB / 0.6278 GB, free: 12.73 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003454/0.4058, allocations: 278.6 kB / 0.6281 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4059, allocations: 106 kB / 0.6282 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009033/0.4069, allocations: 0.4946 MB / 0.6287 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4069, allocations: 4.5 kB / 0.6287 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4069, allocations: 0 / 0.6287 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006752/0.4076, allocations: 472.4 kB / 0.6291 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4093, allocations: 1.385 MB / 0.6305 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4094, allocations: 3.375 kB / 0.6305 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.4096, allocations: 76.27 kB / 0.6306 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4097, allocations: 2.562 kB / 0.6306 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4097, allocations: 17.02 kB / 0.6306 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4097, allocations: 2.781 kB / 0.6306 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4097, allocations: 6.594 kB / 0.6306 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.4108, allocations: 0.7858 MB / 0.6314 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.4111, allocations: 247.9 kB / 0.6316 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4112, allocations: 8.094 kB / 0.6316 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.4117, allocations: 59.81 kB / 0.6317 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.4118, allocations: 36.03 kB / 0.6317 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4118, allocations: 21.2 kB / 0.6317 GB, free: 10.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006993/0.4125, allocations: 0.6424 MB / 0.6324 GB, free: 9.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4125, allocations: 0 / 0.6324 GB, free: 9.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008833/0.4134, allocations: 328.4 kB / 0.6327 GB, free: 9.613 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.4152, allocations: 1.576 MB / 0.6342 GB, free: 8.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.416, allocations: 434.8 kB / 0.6346 GB, free: 8.332 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.416, allocations: 448 / 0.6346 GB, free: 8.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4163, allocations: 208.3 kB / 0.6348 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.4185, allocations: 0.5969 MB / 0.6354 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/0.4268, allocations: 5.482 MB / 0.6408 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.4273, allocations: 1.044 MB / 0.6418 GB, free: 2.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006851/0.428, allocations: 192.5 kB / 0.642 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.4285, allocations: 367.3 kB / 0.6423 GB, free: 2.105 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4285, allocations: 0 / 0.6423 GB, free: 2.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.4703, allocations: 28.94 MB / 0.6706 GB, free: 5.586 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.4705, allocations: 227.3 kB / 0.6708 GB, free: 5.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.553, allocations: 0 / 0.6708 GB, free: 5.352 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: