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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7738/0.7738, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 188.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.00102, allocations: 107.2 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 286.9 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 79.88 kB / 0.6885 GB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3292, allocations: 81.29 MB / 0.7679 GB, free: 27.61 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.5163/0.8456, allocations: 237.7 MB / 1 GB, free: 9.578 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.8558, allocations: 7.273 MB / 1.007 GB, free: 5.668 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.8571, allocations: 48.78 kB / 1.007 GB, free: 5.645 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.8587, allocations: 0.5855 MB / 1.008 GB, free: 5.164 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.863, allocations: 1.94 MB / 1.01 GB, free: 3.656 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.8671, allocations: 1.851 MB / 1.011 GB, free: 2.316 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004655/0.8718, allocations: 4.435 MB / 1.016 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.8732, allocations: 0.9357 MB / 1.017 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.877, allocations: 1.615 MB / 1.018 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.879, allocations: 0.9862 MB / 1.019 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.8792, allocations: 64 kB / 1.019 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/0.884, allocations: 2.84 MB / 1.022 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.8845, allocations: 406.7 kB / 1.022 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008188/0.8853, allocations: 0.6491 MB / 1.023 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.8892, allocations: 2.769 MB / 1.026 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8892, allocations: 4 kB / 1.026 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8892, allocations: 0 / 1.026 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.8892, allocations: 4 kB / 1.026 GB, free: 4.793 MB / 0.5886 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.002782/0.892, allocations: 1.701 MB / 1.028 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8921, allocations: 11.97 kB / 1.028 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.8944, allocations: 422 kB / 1.028 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.896, allocations: 0.9521 MB / 1.029 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.896, allocations: 66 kB / 1.029 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.8962, allocations: 87.91 kB / 1.029 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.8976, allocations: 0.8623 MB / 1.03 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.8976, allocations: 0 / 1.03 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.8977, allocations: 28 kB / 1.03 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.8977, allocations: 37.98 kB / 1.03 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.8991, allocations: 0.8003 MB / 1.031 GB, free: 15.73 MB / 0.6042 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.004885/0.904, allocations: 3.619 MB / 1.034 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.9054, allocations: 1.087 MB / 1.035 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.906, allocations: 380 kB / 1.036 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/0.9067, allocations: 408.8 kB / 1.036 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.9067, allocations: 51.06 kB / 1.036 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.304e-06/0.9067, allocations: 0 / 1.036 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.002064/0.9088, allocations: 0.9507 MB / 1.037 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.9089, allocations: 59.97 kB / 1.037 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.9099, allocations: 0.8278 MB / 1.038 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.91, allocations: 41.64 kB / 1.038 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.9103, allocations: 480.1 kB / 1.038 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.9105, allocations: 212.9 kB / 1.039 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.9107, allocations: 110.2 kB / 1.039 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9108, allocations: 330 kB / 1.039 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.9113, allocations: 255 kB / 1.039 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.9119, allocations: 380.2 kB / 1.04 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009928/0.9129, allocations: 0.5891 MB / 1.04 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9129, allocations: 0 / 1.04 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001211/0.9141, allocations: 0.7319 MB / 1.041 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9142, allocations: 8 kB / 1.041 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9142, allocations: 0 / 1.041 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9142, allocations: 8.125 kB / 1.041 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.9147, allocations: 127.8 kB / 1.041 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.9148, allocations: 4 kB / 1.041 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.9157, allocations: 123.3 kB / 1.041 GB, free: 4.398 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.9157, allocations: 24 kB / 1.041 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007509/0.9165, allocations: 497 kB / 1.042 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005382/0.917, allocations: 372.2 kB / 1.042 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009436/0.918, allocations: 0.5774 MB / 1.043 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.918, allocations: 0 / 1.043 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001165/0.9192, allocations: 0.7242 MB / 1.043 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.9192, allocations: 5.25 kB / 1.043 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.9192, allocations: 0 / 1.043 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.9192, allocations: 8.125 kB / 1.043 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.9197, allocations: 127.8 kB / 1.043 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.9197, allocations: 0 / 1.043 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.9205, allocations: 113.5 kB / 1.044 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.9206, allocations: 24 kB / 1.044 GB, free: 1.891 MB / 0.6042 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.0001606/0.9208, allocations: 220.1 kB / 1.044 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.9209, allocations: 106.7 kB / 1.044 GB, free: 1.562 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.9223, allocations: 0.7391 MB / 1.045 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9223, allocations: 8 kB / 1.045 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9223, allocations: 0 / 1.045 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.9234, allocations: 0.9033 MB / 1.045 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.9265, allocations: 2.239 MB / 1.048 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.9265, allocations: 4 kB / 1.048 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.9272, allocations: 135.8 kB / 1.048 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.9272, allocations: 8.406 kB / 1.048 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.9272, allocations: 20 kB / 1.048 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9272, allocations: 4 kB / 1.048 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.9273, allocations: 7.938 kB / 1.048 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/0.9473, allocations: 8.307 MB / 1.056 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.9478, allocations: 263.7 kB / 1.056 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9479, allocations: 16 kB / 1.056 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/0.9487, allocations: 101.4 kB / 1.056 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.9488, allocations: 48.25 kB / 1.056 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.9489, allocations: 27.98 kB / 1.056 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007304/0.9496, allocations: 0.5782 MB / 1.057 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9496, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003051/0.9527, allocations: 0.9126 MB / 1.058 GB, free: 2.758 MB / 0.6198 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 (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.0005124/0.9532, allocations: 248.8 kB / 1.058 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.955, allocations: 0.9354 MB / 1.059 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.955, allocations: 0 / 1.059 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.9555, allocations: 346.1 kB / 1.059 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.9585, allocations: 0.6195 MB / 1.06 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.9622, allocations: 2.936 MB / 1.063 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/0.9628, allocations: 1.14 MB / 1.064 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001264/0.9641, allocations: 316.1 kB / 1.064 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.9644, allocations: 87.42 kB / 1.064 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.9644, allocations: 0 / 1.064 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.03662/1.001, allocations: 23.58 MB / 1.087 GB, free: 4.727 MB / 0.6511 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)