Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.727/1.727, allocations: 287.4 MB / 302.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009955/0.0009955, allocations: 183.7 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 89.27 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 13.03 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03113/0.2792, allocations: 38.32 MB / 1.016 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.2936, allocations: 9.667 MB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2958, allocations: 43.69 kB / 1.026 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.2975, allocations: 457.1 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.3033, allocations: 1.47 MB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.3076, allocations: 0.8714 MB / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007168/0.3148, allocations: 3.874 MB / 1.032 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.3165, allocations: 0.8461 MB / 1.033 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3191, allocations: 0.9917 MB / 1.034 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.3206, allocations: 0.8127 MB / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.3207, allocations: 36 kB / 1.035 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3224, allocations: 490.9 kB / 1.035 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3227, allocations: 199.1 kB / 1.035 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.3231, allocations: 261.1 kB / 1.036 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.3247, allocations: 1.364 MB / 1.037 GB, free: 268 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3247, allocations: 4 kB / 1.037 GB, free: 264 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3247, allocations: 0 / 1.037 GB, free: 264 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.3247, allocations: 0 / 1.037 GB, free: 264 kB / 0.6511 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.002341/0.3271, allocations: 1.293 MB / 1.038 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/0.3271, allocations: 12.02 kB / 1.038 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.3273, allocations: 118.6 kB / 1.038 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.3276, allocations: 135.4 kB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.3294, allocations: 1.065 MB / 1.04 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.3295, allocations: 62 kB / 1.04 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3296, allocations: 72 kB / 1.04 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3311, allocations: 0.7905 MB / 1.04 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.3311, allocations: 3.938 kB / 1.04 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.3312, allocations: 28 kB / 1.04 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.3312, allocations: 23.98 kB / 1.041 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3324, allocations: 0.5944 MB / 1.041 GB, free: 11.93 MB / 0.6667 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.00418/0.3366, allocations: 3.555 MB / 1.045 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.3372, allocations: 266.4 kB / 1.045 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.3375, allocations: 187.2 kB / 1.045 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/0.3381, allocations: 0.6571 MB / 1.046 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3381, allocations: 38.5 kB / 1.046 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/0.3381, allocations: 8 kB / 1.046 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001174/0.3393, allocations: 0.5282 MB / 1.046 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.3394, allocations: 55.41 kB / 1.046 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3405, allocations: 0.9175 MB / 1.047 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.3406, allocations: 33.7 kB / 1.047 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.341, allocations: 0.4957 MB / 1.048 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.3411, allocations: 106.4 kB / 1.048 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.3411, allocations: 12 kB / 1.048 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3412, allocations: 329.9 kB / 1.048 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.3415, allocations: 177 kB / 1.048 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.342, allocations: 358.8 kB / 1.049 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.3429, allocations: 0.5342 MB / 1.049 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3429, allocations: 0 / 1.049 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001101/0.344, allocations: 0.629 MB / 1.05 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.344, allocations: 4 kB / 1.05 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3441, allocations: 8 kB / 1.05 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3441, allocations: 8 kB / 1.05 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.3445, allocations: 128.2 kB / 1.05 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.3446, allocations: 15.92 kB / 1.05 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.3453, allocations: 123.1 kB / 1.05 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.3453, allocations: 27.98 kB / 1.05 GB, free: 2.16 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000387/0.3457, allocations: 267 kB / 1.05 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3459, allocations: 106.8 kB / 1.05 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009132/0.3468, allocations: 0.4897 MB / 1.051 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3468, allocations: 8 kB / 1.051 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3468, allocations: 3.984 kB / 1.051 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006877/0.3475, allocations: 480.7 kB / 1.051 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.3494, allocations: 1.371 MB / 1.053 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3494, allocations: 11.88 kB / 1.053 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3497, allocations: 79.89 kB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3497, allocations: 4 kB / 1.053 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.3498, allocations: 12.06 kB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3498, allocations: 4.156 kB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3498, allocations: 11.88 kB / 1.053 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.351, allocations: 0.7856 MB / 1.054 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.3513, allocations: 247.6 kB / 1.054 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3514, allocations: 8 kB / 1.054 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.3519, allocations: 60 kB / 1.054 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.352, allocations: 23.91 kB / 1.054 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.3521, allocations: 19.98 kB / 1.054 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007434/0.3528, allocations: 0.6391 MB / 1.055 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3528, allocations: 0 / 1.055 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009077/0.3537, allocations: 327.4 kB / 1.055 GB, free: 13.06 MB / 0.6823 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 (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.002149/0.3559, allocations: 1.59 MB / 1.056 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009022/0.3568, allocations: 449.2 kB / 1.057 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3568, allocations: 0 / 1.057 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.3572, allocations: 204.5 kB / 1.057 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.36, allocations: 0.5955 MB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.3689, allocations: 5.444 MB / 1.063 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.3695, allocations: 1.032 MB / 1.064 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000875/0.3704, allocations: 203.9 kB / 1.064 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.3708, allocations: 371.3 kB / 1.064 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.3708, allocations: 0 / 1.064 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8177/1.188, allocations: 29.17 MB / 1.093 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.189, allocations: 232.4 kB / 1.093 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/4.282, allocations: 4 kB / 1.093 GB, free: 81.38 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)