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.00119/0.00119, allocations: 107 kB / 15.99 MB, free: 6.352 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.001178/0.001178, allocations: 190.7 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.706/0.706, allocations: 115.3 MB / 406.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.88 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3833, allocations: 76.17 MB / 0.556 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04033/0.4236, allocations: 41.23 MB / 0.5963 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.4389, allocations: 10.33 MB / 0.6064 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.4421, allocations: 54.03 kB / 0.6064 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.4447, allocations: 0.5575 MB / 0.607 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007078/0.4519, allocations: 1.754 MB / 0.6087 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.4555, allocations: 1.085 MB / 0.6097 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.4613, allocations: 3.427 MB / 0.6131 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.4632, allocations: 1.053 MB / 0.6141 GB, free: 9.008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.4671, allocations: 1.237 MB / 0.6153 GB, free: 7.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.469, allocations: 0.91 MB / 0.6162 GB, free: 6.855 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.4694, allocations: 104 kB / 0.6163 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.4722, allocations: 0.8732 MB / 0.6172 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005326/0.4727, allocations: 283 kB / 0.6174 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.474, allocations: 0.6298 MB / 0.618 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.4781, allocations: 1.912 MB / 0.6199 GB, free: 3.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4782, allocations: 4 kB / 0.6199 GB, free: 3.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4782, allocations: 0 / 0.6199 GB, free: 3.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.291e-05/0.4782, allocations: 4 kB / 0.6199 GB, free: 3.043 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.003478/0.4817, allocations: 1.511 MB / 0.6214 GB, free: 1.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4818, allocations: 12.03 kB / 0.6214 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.482, allocations: 114.7 kB / 0.6215 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.4825, allocations: 135.4 kB / 0.6216 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.4845, allocations: 1.08 MB / 0.6227 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.4846, allocations: 58 kB / 0.6228 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.4847, allocations: 71.98 kB / 0.6228 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.4862, allocations: 0.7905 MB / 0.6236 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4862, allocations: 0 / 0.6236 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.4863, allocations: 28 kB / 0.6236 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.4863, allocations: 16 kB / 0.6236 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4875, allocations: 0.5788 MB / 0.6242 GB, free: 14.51 MB / 478.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.004361/0.4919, allocations: 3.548 MB / 0.6277 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.4925, allocations: 266.4 kB / 0.6279 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.4928, allocations: 178.3 kB / 0.6281 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/0.4933, allocations: 0.6532 MB / 0.6287 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.4934, allocations: 46.5 kB / 0.6288 GB, free: 9.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.4934, allocations: 0 / 0.6288 GB, free: 9.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001199/0.4946, allocations: 0.5046 MB / 0.6293 GB, free: 8.926 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.4946, allocations: 55.41 kB / 0.6293 GB, free: 8.859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.4958, allocations: 0.9416 MB / 0.6302 GB, free: 7.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.4959, allocations: 33.7 kB / 0.6303 GB, free: 7.859 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.4963, allocations: 0.4917 MB / 0.6308 GB, free: 7.363 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.4964, allocations: 106.5 kB / 0.6309 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.4966, allocations: 118.1 kB / 0.631 GB, free: 7.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4967, allocations: 329.9 kB / 0.6313 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.4971, allocations: 165 kB / 0.6314 GB, free: 6.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.4976, allocations: 351 kB / 0.6318 GB, free: 6.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.4985, allocations: 0.5148 MB / 0.6323 GB, free: 5.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.4985, allocations: 0 / 0.6323 GB, free: 5.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001183/0.4997, allocations: 0.6137 MB / 0.6329 GB, free: 5.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4997, allocations: 12 kB / 0.6329 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4997, allocations: 4 kB / 0.6329 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.4997, allocations: 8 kB / 0.6329 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.5002, allocations: 119.8 kB / 0.633 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.5002, allocations: 15.92 kB / 0.633 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.5009, allocations: 107.2 kB / 0.6331 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.501, allocations: 31.92 kB / 0.6332 GB, free: 4.73 MB / 478.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.0003465/0.5014, allocations: 279.6 kB / 0.6334 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.5015, allocations: 102.8 kB / 0.6335 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.5025, allocations: 486.1 kB / 0.634 GB, free: 3.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5025, allocations: 7.938 kB / 0.634 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5026, allocations: 7.984 kB / 0.634 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006897/0.5032, allocations: 445.5 kB / 0.6344 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5053, allocations: 1.366 MB / 0.6358 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.5053, allocations: 3.938 kB / 0.6358 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.5057, allocations: 79.83 kB / 0.6358 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.5057, allocations: 4 kB / 0.6358 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.5058, allocations: 8 kB / 0.6359 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.5058, allocations: 8.141 kB / 0.6359 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5058, allocations: 4 kB / 0.6359 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.5072, allocations: 0.7619 MB / 0.6366 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.5077, allocations: 231.7 kB / 0.6368 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.5079, allocations: 8 kB / 0.6368 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/0.5086, allocations: 51.89 kB / 0.6369 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.5087, allocations: 27.95 kB / 0.6369 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.5087, allocations: 19.98 kB / 0.6369 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000979/0.5097, allocations: 0.6471 MB / 0.6376 GB, free: 48 kB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5097, allocations: 4 kB / 0.6376 GB, free: 44 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001331/0.511, allocations: 331.5 kB / 0.6379 GB, free: 15.72 MB / 494.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.002732/0.5138, allocations: 1.59 MB / 0.6394 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.5149, allocations: 456 kB / 0.6399 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5149, allocations: 0 / 0.6399 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.5153, allocations: 189.4 kB / 0.6401 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.5181, allocations: 0.6132 MB / 0.6406 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.5306, allocations: 7.476 MB / 0.648 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.5313, allocations: 1.036 MB / 0.649 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008337/0.5321, allocations: 196 kB / 0.6491 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.5326, allocations: 367.3 kB / 0.6495 GB, free: 3.41 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5326, allocations: 0 / 0.6495 GB, free: 3.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09425/0.6269, allocations: 28.94 MB / 0.6778 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/0.6272, allocations: 256.4 kB / 0.678 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.222, allocations: 0 / 0.678 GB, free: 6.625 MB / 0.5137 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)