Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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: 111.3 kB / 15.23 MB, free: 0.6406 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.001261/0.001261, allocations: 197.5 kB / 16.14 MB, free: 6.707 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 286.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9796/0.9796, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 89.8 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1885, allocations: 86.99 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.6207/0.8093, allocations: 237.7 MB / 0.9116 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.8205, allocations: 7.292 MB / 0.9187 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.8222, allocations: 47.69 kB / 0.9188 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.8243, allocations: 0.5867 MB / 0.9193 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.8296, allocations: 1.952 MB / 0.9212 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.8344, allocations: 1.86 MB / 0.923 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005204/0.8396, allocations: 4.431 MB / 0.9274 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.8416, allocations: 0.9357 MB / 0.9283 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.8457, allocations: 1.595 MB / 0.9298 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.8484, allocations: 0.987 MB / 0.9308 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000398/0.8489, allocations: 68 kB / 0.9309 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00605/0.8549, allocations: 2.837 MB / 0.9336 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009105/0.8559, allocations: 402.7 kB / 0.934 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.8573, allocations: 0.6608 MB / 0.9347 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.8626, allocations: 2.773 MB / 0.9374 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8626, allocations: 0 / 0.9374 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8626, allocations: 0 / 0.9374 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.639e-05/0.8627, allocations: 0 / 0.9374 GB, free: 15.71 MB / 0.6544 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.003486/0.8661, allocations: 1.706 MB / 0.939 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8662, allocations: 20.02 kB / 0.9391 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.8692, allocations: 418 kB / 0.9395 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.8711, allocations: 0.9677 MB / 0.9404 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.8711, allocations: 58 kB / 0.9405 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.8713, allocations: 84 kB / 0.9405 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.873, allocations: 0.8702 MB / 0.9414 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.873, allocations: 3.938 kB / 0.9414 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.8731, allocations: 32 kB / 0.9414 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.8732, allocations: 26 kB / 0.9415 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.8747, allocations: 0.8081 MB / 0.9422 GB, free: 10.62 MB / 0.6544 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.005285/0.88, allocations: 3.631 MB / 0.9458 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.8816, allocations: 1.095 MB / 0.9469 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.8822, allocations: 369 kB / 0.9472 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007557/0.883, allocations: 416.8 kB / 0.9476 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.883, allocations: 39.12 kB / 0.9476 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.895e-06/0.883, allocations: 0 / 0.9476 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.00219/0.8852, allocations: 0.9584 MB / 0.9486 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.8853, allocations: 59.97 kB / 0.9486 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.8865, allocations: 0.84 MB / 0.9495 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.8866, allocations: 37.7 kB / 0.9495 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.887, allocations: 484.1 kB / 0.95 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.8872, allocations: 212.9 kB / 0.9502 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.8874, allocations: 110.2 kB / 0.9503 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8875, allocations: 330 kB / 0.9506 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.888, allocations: 259 kB / 0.9508 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.8887, allocations: 363.4 kB / 0.9512 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.8897, allocations: 0.5891 MB / 0.9517 GB, free: 288 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8897, allocations: 0 / 0.9517 GB, free: 288 kB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001415/0.8912, allocations: 0.7398 MB / 0.9525 GB, free: 15.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8912, allocations: 10.5 kB / 0.9525 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8912, allocations: 0 / 0.9525 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8912, allocations: 4 kB / 0.9525 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.8918, allocations: 123.8 kB / 0.9526 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.8919, allocations: 4 kB / 0.9526 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.8929, allocations: 127.5 kB / 0.9527 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.8929, allocations: 20 kB / 0.9527 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008195/0.8938, allocations: 0.4977 MB / 0.9532 GB, free: 14.76 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005742/0.8944, allocations: 363.4 kB / 0.9536 GB, free: 14.37 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009846/0.8954, allocations: 0.5813 MB / 0.9541 GB, free: 13.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.8954, allocations: 4 kB / 0.9542 GB, free: 13.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001338/0.8967, allocations: 0.7242 MB / 0.9549 GB, free: 13.04 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.8967, allocations: 7.938 kB / 0.9549 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.8967, allocations: 0 / 0.9549 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.8968, allocations: 4 kB / 0.9549 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.8973, allocations: 131.9 kB / 0.955 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.8973, allocations: 0 / 0.955 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/0.8983, allocations: 123.5 kB / 0.9551 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.8983, allocations: 23.98 kB / 0.9551 GB, free: 12.75 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.8985, allocations: 212.8 kB / 0.9553 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.8988, allocations: 106.7 kB / 0.9554 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.9002, allocations: 0.7394 MB / 0.9562 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.9003, allocations: 8 kB / 0.9562 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9003, allocations: 3.984 kB / 0.9562 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.9015, allocations: 0.8994 MB / 0.9571 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.9051, allocations: 2.247 MB / 0.9592 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.9051, allocations: 7.938 kB / 0.9593 GB, free: 8.289 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.9058, allocations: 136.3 kB / 0.9594 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.9058, allocations: 7.938 kB / 0.9594 GB, free: 8.148 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.9059, allocations: 19.98 kB / 0.9594 GB, free: 8.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.9059, allocations: 12 kB / 0.9594 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.9059, allocations: 4 kB / 0.9594 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.9079, allocations: 1.221 MB / 0.9606 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.9084, allocations: 263.7 kB / 0.9609 GB, free: 6.559 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.9086, allocations: 19.98 kB / 0.9609 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.9096, allocations: 91.84 kB / 0.961 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.9098, allocations: 52.25 kB / 0.961 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.9098, allocations: 28 kB / 0.9611 GB, free: 6.371 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001019/0.9109, allocations: 0.5823 MB / 0.9616 GB, free: 5.777 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.625e-06/0.9109, allocations: 0 / 0.9616 GB, free: 5.777 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001764/0.9126, allocations: 0.5454 MB / 0.9622 GB, free: 5.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (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.0005754/0.9132, allocations: 240.9 kB / 0.9624 GB, free: 4.988 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.9152, allocations: 0.9392 MB / 0.9633 GB, free: 4.051 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9152, allocations: 4 kB / 0.9633 GB, free: 4.047 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.9159, allocations: 338.2 kB / 0.9636 GB, free: 3.719 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.9192, allocations: 0.6176 MB / 0.9642 GB, free: 3.109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.923, allocations: 2.552 MB / 0.9667 GB, free: 496 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.9238, allocations: 1.128 MB / 0.9678 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001199/0.925, allocations: 300.1 kB / 0.9681 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.9253, allocations: 83.42 kB / 0.9682 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/0.9253, allocations: 0 / 0.9682 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of Templates: time 0.03436/0.9597, allocations: 19.77 MB / 0.9875 GB, free: 11.49 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)