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.001645/0.001645, allocations: 95.88 kB / 15.68 MB, free: 488 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.002908/0.002908, allocations: 170.4 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.394/2.394, allocations: 223.2 MB / 240.5 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.25/1.25, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005764/0.0005765, allocations: 12 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3072, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.6849/0.9921, allocations: 34.77 MB / 0.5907 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02906/1.021, allocations: 8.955 MB / 0.5994 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005179/1.027, allocations: 49.22 kB / 0.5995 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005971/1.033, allocations: 0.6083 MB / 0.6001 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01548/1.048, allocations: 1.83 MB / 0.6018 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009489/1.058, allocations: 1.356 MB / 0.6032 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009664/1.067, allocations: 1.965 MB / 0.6051 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003063/1.07, allocations: 0.7442 MB / 0.6058 GB, free: 9.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005066/1.076, allocations: 0.8824 MB / 0.6067 GB, free: 9.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/1.079, allocations: 0.5427 MB / 0.6072 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003646/1.079, allocations: 37.41 kB / 0.6072 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/1.083, allocations: 0.5468 MB / 0.6078 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005025/1.084, allocations: 191.9 kB / 0.608 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/1.085, allocations: 260.3 kB / 0.6082 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/1.089, allocations: 1.357 MB / 0.6095 GB, free: 8.484 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.089, allocations: 0 / 0.6095 GB, free: 8.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.447e-06/1.089, allocations: 1.156 kB / 0.6095 GB, free: 8.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.623e-05/1.089, allocations: 4 kB / 0.6095 GB, free: 8.48 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.004918/1.094, allocations: 1.313 MB / 0.6108 GB, free: 23.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.231e-05/1.094, allocations: 9.562 kB / 0.6108 GB, free: 23.6 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/1.095, allocations: 113.2 kB / 0.6109 GB, free: 23.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006929/1.095, allocations: 141.6 kB / 0.6111 GB, free: 23.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/1.098, allocations: 0.9733 MB / 0.612 GB, free: 22.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.099, allocations: 56.56 kB / 0.6121 GB, free: 22.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.099, allocations: 76.25 kB / 0.6122 GB, free: 22.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.101, allocations: 0.7919 MB / 0.6129 GB, free: 22.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/1.101, allocations: 9.328 kB / 0.6129 GB, free: 22.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.101, allocations: 31.78 kB / 0.613 GB, free: 22.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/1.101, allocations: 21.09 kB / 0.613 GB, free: 22.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.103, allocations: 0.5857 MB / 0.6136 GB, free: 22.23 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.008109/1.111, allocations: 3.572 MB / 0.617 GB, free: 19.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.112, allocations: 273 kB / 0.6173 GB, free: 19.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/1.113, allocations: 0.6564 MB / 0.6179 GB, free: 18.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.113, allocations: 52.95 kB / 0.618 GB, free: 18.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 3.897e-06/1.113, allocations: 0 / 0.618 GB, free: 18.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.00285/1.116, allocations: 0.5417 MB / 0.6185 GB, free: 18.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/1.116, allocations: 55.38 kB / 0.6186 GB, free: 18.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/1.119, allocations: 0.972 MB / 0.6195 GB, free: 17.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.119, allocations: 32.95 kB / 0.6196 GB, free: 17.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/1.12, allocations: 0.491 MB / 0.62 GB, free: 17.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/1.12, allocations: 113.4 kB / 0.6201 GB, free: 17.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/1.12, allocations: 10.38 kB / 0.6202 GB, free: 17.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002504/1.121, allocations: 327 kB / 0.6205 GB, free: 17.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/1.121, allocations: 173.9 kB / 0.6206 GB, free: 16.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/1.122, allocations: 352.9 kB / 0.621 GB, free: 16.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/1.123, allocations: 235.2 kB / 0.6212 GB, free: 16.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.123, allocations: 1.188 kB / 0.6212 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002509/1.126, allocations: 0.6349 MB / 0.6218 GB, free: 16.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/1.126, allocations: 10.86 kB / 0.6218 GB, free: 16.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/1.126, allocations: 9.422 kB / 0.6218 GB, free: 16.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.662e-05/1.126, allocations: 9.125 kB / 0.6218 GB, free: 16.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/1.127, allocations: 126.8 kB / 0.622 GB, free: 16.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/1.127, allocations: 12.03 kB / 0.622 GB, free: 16.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.128, allocations: 123.8 kB / 0.6221 GB, free: 16.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/1.128, allocations: 25.28 kB / 0.6221 GB, free: 16.08 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.0008601/1.129, allocations: 277.9 kB / 0.6224 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/1.129, allocations: 99.84 kB / 0.6225 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.131, allocations: 499.8 kB / 0.623 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/1.131, allocations: 12.58 kB / 0.623 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.131, allocations: 0 / 0.623 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009283/1.132, allocations: 479.9 kB / 0.6234 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/1.135, allocations: 1.395 MB / 0.6248 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.135, allocations: 1.031 kB / 0.6248 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/1.136, allocations: 89.44 kB / 0.6249 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.136, allocations: 2.344 kB / 0.6249 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/1.136, allocations: 9.469 kB / 0.6249 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/1.136, allocations: 6.406 kB / 0.6249 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.136, allocations: 1.469 kB / 0.6249 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/1.139, allocations: 0.8602 MB / 0.6257 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009521/1.14, allocations: 256.8 kB / 0.626 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/1.14, allocations: 11.14 kB / 0.626 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009685/1.141, allocations: 58.98 kB / 0.626 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.141, allocations: 27.88 kB / 0.6261 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/1.141, allocations: 20.42 kB / 0.6261 GB, free: 13.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001866/1.143, allocations: 0.6798 MB / 0.6268 GB, free: 12.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.143, allocations: 0 / 0.6268 GB, free: 12.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002234/1.145, allocations: 341.6 kB / 0.6271 GB, free: 12.83 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.004438/1.15, allocations: 2.017 MB / 0.6291 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/1.151, allocations: 441.6 kB / 0.6295 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.151, allocations: 384 / 0.6295 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006449/1.152, allocations: 205 kB / 0.6297 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005767/1.158, allocations: 0.5885 MB / 0.6302 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.172, allocations: 5.954 MB / 0.6361 GB, free: 5.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.174, allocations: 1.061 MB / 0.6371 GB, free: 4.539 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002046/1.176, allocations: 199.6 kB / 0.6373 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.178, allocations: 372.3 kB / 0.6376 GB, free: 4.145 MB / 462.1 MB Notification: Performance of SimCode: time 2.344e-06/1.178, allocations: 0 / 0.6376 GB, free: 4.145 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.278, allocations: 29 MB / 0.666 GB, free: 9.527 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003573/1.279, allocations: 230 kB / 0.6662 GB, free: 9.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.633/5.912, allocations: 0 / 0.6662 GB, free: 9.285 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: