Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.448/1.448, allocations: 288.4 MB / 303.6 MB, free: 8.016 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.0008504/0.0008503, allocations: 179.6 kB / 372.3 MB, free: 10.13 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.125/1.125, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006429/0.0006428, allocations: 93.59 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 16.22 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.4773/0.6286, allocations: 218.8 MB / 1.194 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009106/0.6377, allocations: 6.737 MB / 1.2 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.6389, allocations: 44.44 kB / 1.201 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.6402, allocations: 0.5112 MB / 1.201 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.644, allocations: 1.78 MB / 1.203 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.6476, allocations: 1.648 MB / 1.204 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.6509, allocations: 3.771 MB / 1.208 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009862/0.6519, allocations: 0.9175 MB / 1.209 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.6544, allocations: 1.517 MB / 1.21 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.6555, allocations: 0.9097 MB / 1.211 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6556, allocations: 49.25 kB / 1.211 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.6593, allocations: 2.775 MB / 1.214 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.6596, allocations: 383.3 kB / 1.214 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.6602, allocations: 0.6368 MB / 1.215 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.662, allocations: 1.931 MB / 1.217 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.662, allocations: 0 / 1.217 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.745e-06/0.662, allocations: 3.984 kB / 1.217 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.6621, allocations: 0 / 1.217 GB, free: 7.578 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002014/0.6641, allocations: 1.471 MB / 1.218 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6641, allocations: 14.94 kB / 1.218 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.6643, allocations: 126 kB / 1.218 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.6664, allocations: 427.2 kB / 1.219 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6677, allocations: 0.9521 MB / 1.22 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.6677, allocations: 69.98 kB / 1.22 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.6678, allocations: 87.94 kB / 1.22 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.6692, allocations: 0.8624 MB / 1.221 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6692, allocations: 0 / 1.221 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.6693, allocations: 35.94 kB / 1.221 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.6693, allocations: 34 kB / 1.221 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.6707, allocations: 0.8198 MB / 1.222 GB, free: 3.082 MB / 0.7448 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.003788/0.6745, allocations: 3.635 MB / 1.225 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6757, allocations: 1.104 MB / 1.226 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.6763, allocations: 376.1 kB / 1.227 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.6769, allocations: 428.8 kB / 1.227 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.677, allocations: 39.12 kB / 1.227 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=60): time 1.763e-06/0.677, allocations: 0 / 1.227 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60): time 0.00186/0.6789, allocations: 0.9857 MB / 1.228 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.6789, allocations: 55.97 kB / 1.228 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/0.6798, allocations: 0.8277 MB / 1.229 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.6799, allocations: 37.7 kB / 1.229 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.6802, allocations: 480.2 kB / 1.229 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.6803, allocations: 208.9 kB / 1.23 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.6804, allocations: 12 kB / 1.23 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.6805, allocations: 333.9 kB / 1.23 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.6809, allocations: 253 kB / 1.23 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.6814, allocations: 380.2 kB / 1.231 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.6824, allocations: 0.5969 MB / 1.231 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6824, allocations: 0 / 1.231 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001136/0.6836, allocations: 0.7437 MB / 1.232 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.6836, allocations: 122.8 kB / 1.232 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6836, allocations: 3.938 kB / 1.232 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6837, allocations: 4 kB / 1.232 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.6842, allocations: 127.9 kB / 1.232 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6842, allocations: 4 kB / 1.232 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.685, allocations: 124.8 kB / 1.232 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.6851, allocations: 27.94 kB / 1.232 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.6851, allocations: 5.25 kB / 1.232 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/0.6862, allocations: 0.6222 MB / 1.233 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.6862, allocations: 0 / 1.233 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-06/0.6862, allocations: 4 kB / 1.233 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.6867, allocations: 131.8 kB / 1.233 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6867, allocations: 4 kB / 1.233 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.6874, allocations: 127.4 kB / 1.233 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.6875, allocations: 23.98 kB / 1.233 GB, free: 6.691 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0004117/0.6879, allocations: 380.9 kB / 1.234 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.688, allocations: 110.7 kB / 1.234 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.6893, allocations: 0.7587 MB / 1.234 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6893, allocations: 4 kB / 1.234 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.6894, allocations: 0 / 1.234 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/0.6904, allocations: 0.9229 MB / 1.235 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.6933, allocations: 2.255 MB / 1.237 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6933, allocations: 7.938 kB / 1.238 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.6939, allocations: 147.7 kB / 1.238 GB, free: 1.867 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6939, allocations: 11.92 kB / 1.238 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.6939, allocations: 16 kB / 1.238 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.694, allocations: 11.94 kB / 1.238 GB, free: 1.828 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.694, allocations: 4 kB / 1.238 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.6956, allocations: 1.284 MB / 1.239 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.696, allocations: 263.7 kB / 1.239 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.6961, allocations: 16 kB / 1.239 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.6968, allocations: 101.7 kB / 1.239 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.697, allocations: 52.25 kB / 1.239 GB, free: 44 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.697, allocations: 20 kB / 1.239 GB, free: 24 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006319/0.6976, allocations: 0.5743 MB / 1.24 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6976, allocations: 0 / 1.24 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009972/0.6987, allocations: 0.5377 MB / 1.24 GB, free: 14.89 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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 Backend phase and start with SimCode phase: time 0.002199/0.7009, allocations: 1.963 MB / 1.242 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.7024, allocations: 0.9547 MB / 1.243 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7024, allocations: 8 kB / 1.243 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.7029, allocations: 355 kB / 1.244 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.7058, allocations: 0.6158 MB / 1.244 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.7142, allocations: 6.237 MB / 1.25 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.7147, allocations: 1.128 MB / 1.251 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000917/0.7157, allocations: 296.1 kB / 1.252 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.7161, allocations: 415.3 kB / 1.252 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of SimCode: time 2.9e-07/0.7161, allocations: 0 / 1.252 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7513/1.467, allocations: 29.1 MB / 1.281 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.468, allocations: 242 kB / 1.281 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/4.674, allocations: 4 kB / 1.281 GB, free: 5.609 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)