Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009546/0.0009546, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.721/1.721, allocations: 251.9 MB / 0.51 GB, free: 4.875 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.000627, allocations: 12 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6615/0.6622, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8681/1.53, allocations: 196.9 MB / 0.9203 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01502/1.545, allocations: 7.296 MB / 0.9274 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/1.548, allocations: 42 kB / 0.9274 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/1.551, allocations: 0.6742 MB / 0.9281 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008518/1.559, allocations: 1.926 MB / 0.93 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006805/1.566, allocations: 1.668 MB / 0.9316 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005683/1.572, allocations: 1.906 MB / 0.9334 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.574, allocations: 0.8363 MB / 0.9343 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/1.578, allocations: 1.436 MB / 0.9357 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/1.579, allocations: 0.6091 MB / 0.9363 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/1.58, allocations: 51.28 kB / 0.9363 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/1.583, allocations: 1.068 MB / 0.9374 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004843/1.584, allocations: 355.6 kB / 0.9377 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005547/1.584, allocations: 290.4 kB / 0.938 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002819/1.587, allocations: 1.637 MB / 0.9396 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.587, allocations: 0 / 0.9396 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/1.587, allocations: 2.875 kB / 0.9396 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.798e-05/1.587, allocations: 0 / 0.9396 GB, free: 13.62 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002866/1.59, allocations: 1.436 MB / 0.941 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.59, allocations: 10.88 kB / 0.941 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/1.593, allocations: 430.5 kB / 0.9414 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/1.595, allocations: 0.9253 MB / 0.9423 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/1.595, allocations: 63.16 kB / 0.9424 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.595, allocations: 82.28 kB / 0.9424 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/1.596, allocations: 0.8708 MB / 0.9433 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.596, allocations: 6.219 kB / 0.9433 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/1.596, allocations: 35.41 kB / 0.9433 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/1.596, allocations: 28.41 kB / 0.9434 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.598, allocations: 0.8272 MB / 0.9442 GB, free: 12.3 MB / 0.7169 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.004597/1.603, allocations: 3.645 MB / 0.9477 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/1.604, allocations: 1.113 MB / 0.9488 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/1.604, allocations: 154 kB / 0.949 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/1.604, allocations: 45.31 kB / 0.949 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/1.604, allocations: 0 / 0.949 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002071/1.606, allocations: 0.9731 MB / 0.9499 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/1.606, allocations: 62.78 kB / 0.95 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.607, allocations: 0.8236 MB / 0.9508 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/1.608, allocations: 40.89 kB / 0.9509 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/1.608, allocations: 482.7 kB / 0.9513 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.608, allocations: 217.5 kB / 0.9515 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.608, allocations: 13.5 kB / 0.9515 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/1.608, allocations: 327.7 kB / 0.9518 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/1.609, allocations: 248 kB / 0.9521 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/1.609, allocations: 372.8 kB / 0.9524 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/1.61, allocations: 302.7 kB / 0.9527 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.61, allocations: 4 kB / 0.9527 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001184/1.611, allocations: 0.7398 MB / 0.9535 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.611, allocations: 448.1 kB / 0.9539 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.611, allocations: 6.109 kB / 0.9539 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.611, allocations: 5.969 kB / 0.9539 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/1.612, allocations: 132.7 kB / 0.954 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.612, allocations: 4.969 kB / 0.954 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.613, allocations: 135 kB / 0.9542 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/1.613, allocations: 23.34 kB / 0.9542 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.613, allocations: 12.08 kB / 0.9542 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/1.614, allocations: 0.6125 MB / 0.9548 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/1.614, allocations: 2.812 kB / 0.9548 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/1.614, allocations: 3.062 kB / 0.9548 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/1.615, allocations: 131.3 kB / 0.9549 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.615, allocations: 6.453 kB / 0.9549 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009425/1.615, allocations: 126.9 kB / 0.955 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/1.616, allocations: 19.06 kB / 0.9551 GB, free: 8.188 MB / 0.7169 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.0007173/1.616, allocations: 391.4 kB / 0.9554 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/1.616, allocations: 106.8 kB / 0.9555 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/1.618, allocations: 0.7467 MB / 0.9563 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.618, allocations: 11.42 kB / 0.9563 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.618, allocations: 0 / 0.9563 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/1.619, allocations: 0.9152 MB / 0.9572 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.622, allocations: 2.271 MB / 0.9594 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.622, allocations: 3.219 kB / 0.9594 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.623, allocations: 142.7 kB / 0.9595 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/1.623, allocations: 4.844 kB / 0.9595 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/1.623, allocations: 21.25 kB / 0.9595 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/1.623, allocations: 8.094 kB / 0.9596 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.623, allocations: 6.344 kB / 0.9596 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.625, allocations: 1.439 MB / 0.961 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/1.626, allocations: 265 kB / 0.9612 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.626, allocations: 18.33 kB / 0.9612 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/1.626, allocations: 107.1 kB / 0.9613 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.627, allocations: 45.42 kB / 0.9614 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/1.627, allocations: 29.03 kB / 0.9614 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007421/1.627, allocations: 0.5794 MB / 0.962 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.627, allocations: 0 / 0.962 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001471/1.629, allocations: 0.53 MB / 0.9625 GB, free: 5.84 MB / 0.7169 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.0005587/1.629, allocations: 249.5 kB / 0.9627 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.631, allocations: 0.9494 MB / 0.9637 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.631, allocations: 0 / 0.9637 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.632, allocations: 353.8 kB / 0.964 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.635, allocations: 0.6113 MB / 0.9646 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/1.638, allocations: 2.622 MB / 0.9672 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/1.639, allocations: 1.146 MB / 0.9683 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001149/1.64, allocations: 301.2 kB / 0.9686 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.64, allocations: 80.09 kB / 0.9686 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.445e-06/1.64, allocations: 0 / 0.9686 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of Templates: time 0.03465/1.675, allocations: 19.23 MB / 0.9874 GB, free: 10.7 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: