Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001072/0.001072, allocations: 100.9 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.001036/0.001036, allocations: 177.3 kB / 15.94 MB, free: 228 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.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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.0005903/0.0005905, allocations: 16.39 kB / 0.6735 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.264, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6847/0.9487, allocations: 196.6 MB / 0.9791 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.9603, allocations: 7.158 MB / 0.9861 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.9626, allocations: 45.22 kB / 0.9861 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.9649, allocations: 0.6724 MB / 0.9868 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006886/0.9718, allocations: 1.909 MB / 0.9886 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004848/0.9766, allocations: 1.603 MB / 0.9902 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003684/0.9803, allocations: 1.863 MB / 0.992 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.9816, allocations: 0.8271 MB / 0.9928 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.9852, allocations: 1.419 MB / 0.9942 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.9866, allocations: 0.6092 MB / 0.9948 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.9867, allocations: 49.53 kB / 0.9949 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.9902, allocations: 1.061 MB / 0.9959 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.9905, allocations: 349.9 kB / 0.9962 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.9912, allocations: 285.5 kB / 0.9965 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.9932, allocations: 1.603 MB / 0.9981 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9932, allocations: 3.938 kB / 0.9981 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9932, allocations: 0 / 0.9981 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.9932, allocations: 4 kB / 0.9981 GB, free: 17.09 MB / 0.7325 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.00219/0.9954, allocations: 1.428 MB / 0.9995 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9954, allocations: 11.66 kB / 0.9995 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.9979, allocations: 439.4 kB / 0.9999 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.9994, allocations: 0.914 MB / 1.001 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.9995, allocations: 67.69 kB / 1.001 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9996, allocations: 82.47 kB / 1.001 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/1.001, allocations: 0.8648 MB / 1.002 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/1.001, allocations: 0 / 1.002 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/1.001, allocations: 30.56 kB / 1.002 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/1.001, allocations: 29.78 kB / 1.002 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.003, allocations: 0.8331 MB / 1.003 GB, free: 15.05 MB / 0.7325 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.004302/1.007, allocations: 3.622 MB / 1.006 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.008, allocations: 1.119 MB / 1.007 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/1.009, allocations: 156.1 kB / 1.007 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.009, allocations: 41.25 kB / 1.007 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/1.009, allocations: 0 / 1.007 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.00207/1.011, allocations: 0.9852 MB / 1.008 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.011, allocations: 60.59 kB / 1.008 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.012, allocations: 0.8253 MB / 1.009 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/1.012, allocations: 38.36 kB / 1.009 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/1.013, allocations: 481.6 kB / 1.01 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.013, allocations: 211.2 kB / 1.01 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/1.013, allocations: 11.59 kB / 1.01 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.013, allocations: 328.3 kB / 1.01 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/1.014, allocations: 251.1 kB / 1.011 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/1.014, allocations: 378.4 kB / 1.011 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/1.015, allocations: 303.2 kB / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.015, allocations: 0 / 1.011 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001231/1.016, allocations: 0.7433 MB / 1.012 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/1.016, allocations: 452.2 kB / 1.012 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.016, allocations: 2.562 kB / 1.012 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.016, allocations: 5.656 kB / 1.012 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/1.017, allocations: 137.1 kB / 1.012 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.017, allocations: 6.766 kB / 1.013 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/1.018, allocations: 123.5 kB / 1.013 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/1.018, allocations: 26.95 kB / 1.013 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/1.018, allocations: 6.125 kB / 1.013 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/1.019, allocations: 0.6227 MB / 1.013 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/1.019, allocations: 0 / 1.013 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/1.019, allocations: 2.781 kB / 1.013 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/1.019, allocations: 135.7 kB / 1.013 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.019, allocations: 3.688 kB / 1.013 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/1.02, allocations: 120.5 kB / 1.014 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/1.02, allocations: 28.41 kB / 1.014 GB, free: 9.129 MB / 0.7325 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.0005123/1.021, allocations: 385.7 kB / 1.014 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/1.021, allocations: 99.94 kB / 1.014 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/1.022, allocations: 0.7641 MB / 1.015 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.022, allocations: 7.406 kB / 1.015 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.022, allocations: 0 / 1.015 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.023, allocations: 0.9252 MB / 1.016 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/1.027, allocations: 2.253 MB / 1.018 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.027, allocations: 2.719 kB / 1.018 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/1.028, allocations: 145.9 kB / 1.018 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/1.028, allocations: 13.05 kB / 1.018 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/1.028, allocations: 19.89 kB / 1.018 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.028, allocations: 8.438 kB / 1.018 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.028, allocations: 5.719 kB / 1.018 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/1.031, allocations: 1.438 MB / 1.019 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007108/1.031, allocations: 267 kB / 1.02 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.032, allocations: 12.91 kB / 1.02 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.033, allocations: 103.1 kB / 1.02 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.033, allocations: 52.67 kB / 1.02 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/1.033, allocations: 21.12 kB / 1.02 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009563/1.034, allocations: 0.5726 MB / 1.02 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.034, allocations: 0 / 1.02 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001857/1.036, allocations: 0.53 MB / 1.021 GB, free: 4.184 MB / 0.7325 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.0007094/1.036, allocations: 245.6 kB / 1.021 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.038, allocations: 0.9596 MB / 1.022 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.038, allocations: 0 / 1.022 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/1.039, allocations: 349.8 kB / 1.022 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.042, allocations: 0.6157 MB / 1.023 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/1.046, allocations: 2.602 MB / 1.026 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/1.047, allocations: 1.146 MB / 1.027 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001194/1.048, allocations: 302.5 kB / 1.027 GB, free: 264 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.048, allocations: 76.73 kB / 1.027 GB, free: 252 kB / 0.7325 GB Notification: Performance of SimCode: time 2.204e-06/1.048, allocations: 0 / 1.027 GB, free: 252 kB / 0.7325 GB Notification: Performance of Templates: time 0.03615/1.084, allocations: 19.09 MB / 1.046 GB, free: 13.77 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: