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.001023/0.001023, allocations: 98.97 kB / 16.02 MB, free: 80 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.001413/0.001413, allocations: 182.8 kB / 16.92 MB, free: 6.754 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7026/0.7026, allocations: 115.5 MB / 407.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 496 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 77.53 MB / 0.56 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2873/0.4355, allocations: 40.45 MB / 0.5995 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.449, allocations: 10.36 MB / 0.6097 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.4512, allocations: 48 kB / 0.6097 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.453, allocations: 0.5231 MB / 0.6102 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.4583, allocations: 1.745 MB / 0.6119 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.4614, allocations: 1.079 MB / 0.613 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005843/0.4672, allocations: 4.517 MB / 0.6174 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.469, allocations: 0.8564 MB / 0.6182 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.4712, allocations: 1.01 MB / 0.6192 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.4729, allocations: 0.8635 MB / 0.6201 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.4732, allocations: 37.44 kB / 0.6201 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.4754, allocations: 0.768 MB / 0.6208 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.4758, allocations: 213.4 kB / 0.621 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.4768, allocations: 0.5739 MB / 0.6216 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.4791, allocations: 1.835 MB / 0.6234 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4791, allocations: 0 / 0.6234 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4792, allocations: 5 kB / 0.6234 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4792, allocations: 0 / 0.6234 GB, free: 15.66 MB / 462.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.001983/0.4812, allocations: 1.308 MB / 0.6247 GB, free: 14.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4812, allocations: 8.625 kB / 0.6247 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.4814, allocations: 115.7 kB / 0.6248 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.4817, allocations: 132.2 kB / 0.6249 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.4832, allocations: 1.078 MB / 0.626 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.4832, allocations: 54.84 kB / 0.626 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.4833, allocations: 75.88 kB / 0.6261 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.4846, allocations: 0.8012 MB / 0.6269 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4846, allocations: 1.281 kB / 0.6269 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.4847, allocations: 38.7 kB / 0.6269 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.4847, allocations: 19.25 kB / 0.6269 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.4858, allocations: 0.587 MB / 0.6275 GB, free: 12.73 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.003628/0.4894, allocations: 3.553 MB / 0.631 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.49, allocations: 275.9 kB / 0.6312 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.4903, allocations: 189.4 kB / 0.6314 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.4908, allocations: 0.654 MB / 0.6321 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4908, allocations: 34 kB / 0.6321 GB, free: 8.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.4908, allocations: 4 kB / 0.6321 GB, free: 8.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001064/0.4919, allocations: 0.5419 MB / 0.6326 GB, free: 8.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.492, allocations: 57.69 kB / 0.6327 GB, free: 8.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.4929, allocations: 0.936 MB / 0.6336 GB, free: 7.719 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.493, allocations: 32.92 kB / 0.6336 GB, free: 7.684 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.4934, allocations: 0.4948 MB / 0.6341 GB, free: 7.238 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.4935, allocations: 113.8 kB / 0.6342 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.4935, allocations: 48.94 kB / 0.6343 GB, free: 7.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4937, allocations: 328.4 kB / 0.6346 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.494, allocations: 176.1 kB / 0.6347 GB, free: 6.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.4945, allocations: 360 kB / 0.6351 GB, free: 6.395 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.4953, allocations: 0.5359 MB / 0.6356 GB, free: 5.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4953, allocations: 1.5 kB / 0.6356 GB, free: 5.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001017/0.4963, allocations: 0.6425 MB / 0.6362 GB, free: 5.672 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4963, allocations: 9.375 kB / 0.6363 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4964, allocations: 5.5 kB / 0.6363 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4964, allocations: 8.25 kB / 0.6363 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.4968, allocations: 131.2 kB / 0.6364 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4968, allocations: 10.81 kB / 0.6364 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.4974, allocations: 119.8 kB / 0.6365 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.4975, allocations: 32.73 kB / 0.6365 GB, free: 5.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003485/0.4978, allocations: 272.2 kB / 0.6368 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.498, allocations: 105.7 kB / 0.6369 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.4989, allocations: 0.4951 MB / 0.6374 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4989, allocations: 3.031 kB / 0.6374 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.4989, allocations: 4.062 kB / 0.6374 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000667/0.4996, allocations: 478.2 kB / 0.6379 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.5015, allocations: 1.387 MB / 0.6392 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5015, allocations: 0 / 0.6392 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.5018, allocations: 86.44 kB / 0.6393 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.5018, allocations: 2.438 kB / 0.6393 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5018, allocations: 9.438 kB / 0.6393 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5018, allocations: 3.25 kB / 0.6393 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5018, allocations: 4.156 kB / 0.6393 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.503, allocations: 0.8009 MB / 0.6401 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.5033, allocations: 244.4 kB / 0.6403 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5034, allocations: 7.844 kB / 0.6403 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.5039, allocations: 64.89 kB / 0.6404 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.504, allocations: 21.91 kB / 0.6404 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.504, allocations: 20.33 kB / 0.6404 GB, free: 2.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006744/0.5047, allocations: 0.647 MB / 0.6411 GB, free: 2.512 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5047, allocations: 4 kB / 0.6411 GB, free: 2.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008118/0.5055, allocations: 329.7 kB / 0.6414 GB, free: 2.434 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 (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.001942/0.5075, allocations: 1.621 MB / 0.643 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.5083, allocations: 444.8 kB / 0.6434 GB, free: 0.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5083, allocations: 4 kB / 0.6434 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.5087, allocations: 195.8 kB / 0.6436 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.5116, allocations: 0.5954 MB / 0.6442 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.5228, allocations: 7.586 MB / 0.6516 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.5235, allocations: 1.04 MB / 0.6526 GB, free: 6.793 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008054/0.5243, allocations: 192.5 kB / 0.6528 GB, free: 6.602 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/0.5248, allocations: 371.3 kB / 0.6531 GB, free: 6.238 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5248, allocations: 0 / 0.6531 GB, free: 6.238 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2418/0.7667, allocations: 28.3 MB / 0.6808 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.7669, allocations: 259.6 kB / 0.681 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.274, allocations: 3.938 kB / 0.681 GB, free: 10.1 MB / 0.4981 GB (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/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)