Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8153/0.8153, allocations: 128.7 MB / 143.7 MB, free: 2.34 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001211, allocations: 178.3 kB / 173.8 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001184, allocations: 95.42 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 9.938 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2571, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.569/6.827, allocations: 2.159 GB / 2.795 GB, free: 217 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/6.827, allocations: 98.91 kB / 2.795 GB, free: 217 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.091/9.918, allocations: 0.9107 GB / 3.705 GB, free: 54.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.894e-06/9.918, allocations: 0 / 3.705 GB, free: 54.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000123/9.918, allocations: 35.98 kB / 3.705 GB, free: 54.12 MB / 0.6667 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.004465/9.923, allocations: 1.746 MB / 3.707 GB, free: 52.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/9.923, allocations: 8.031 kB / 3.707 GB, free: 52.33 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/9.925, allocations: 410 kB / 3.707 GB, free: 51.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/9.928, allocations: 1.169 MB / 3.709 GB, free: 50.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/9.928, allocations: 58 kB / 3.709 GB, free: 50.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/9.928, allocations: 91.98 kB / 3.709 GB, free: 50.57 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/9.93, allocations: 0.9092 MB / 3.71 GB, free: 49.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/9.93, allocations: 0 / 3.71 GB, free: 49.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/9.93, allocations: 28 kB / 3.71 GB, free: 49.63 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/9.93, allocations: 38 kB / 3.71 GB, free: 49.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/9.932, allocations: 0.8627 MB / 3.711 GB, free: 48.73 MB / 0.6667 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.004411/9.937, allocations: 3.596 MB / 3.714 GB, free: 44.86 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/9.938, allocations: 1.183 MB / 3.715 GB, free: 43.56 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000607/9.939, allocations: 408.9 kB / 3.716 GB, free: 43.09 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/9.939, allocations: 47.02 kB / 3.716 GB, free: 43.03 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.807e-06/9.939, allocations: 0 / 3.716 GB, free: 43.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.003248/9.942, allocations: 1.111 MB / 3.717 GB, free: 41.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/9.942, allocations: 59.97 kB / 3.717 GB, free: 41.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/9.943, allocations: 0.6857 MB / 3.717 GB, free: 41.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/9.943, allocations: 41.7 kB / 3.718 GB, free: 41.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/9.944, allocations: 488.1 kB / 3.718 GB, free: 40.61 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/9.944, allocations: 215.5 kB / 3.718 GB, free: 40.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/9.944, allocations: 8 kB / 3.718 GB, free: 40.39 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/9.944, allocations: 330 kB / 3.718 GB, free: 40.06 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/9.944, allocations: 276.9 kB / 3.719 GB, free: 39.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/9.945, allocations: 415.9 kB / 3.719 GB, free: 39.33 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/9.946, allocations: 333.5 kB / 3.719 GB, free: 39.01 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/9.946, allocations: 0 / 3.719 GB, free: 39.01 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001335/9.947, allocations: 0.7789 MB / 3.72 GB, free: 38.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/9.947, allocations: 366.3 kB / 3.721 GB, free: 37.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/9.947, allocations: 0 / 3.721 GB, free: 37.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/9.947, allocations: 4 kB / 3.721 GB, free: 37.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/9.948, allocations: 147.8 kB / 3.721 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/9.948, allocations: 0 / 3.721 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/9.949, allocations: 138.2 kB / 3.721 GB, free: 37.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/9.949, allocations: 23.98 kB / 3.721 GB, free: 37.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/9.949, allocations: 4 kB / 3.721 GB, free: 37.53 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009473/9.95, allocations: 0.6339 MB / 3.722 GB, free: 36.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/9.95, allocations: 3.938 kB / 3.722 GB, free: 36.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/9.95, allocations: 4 kB / 3.722 GB, free: 36.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/9.951, allocations: 128 kB / 3.722 GB, free: 36.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/9.951, allocations: 7.938 kB / 3.722 GB, free: 36.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/9.951, allocations: 115.4 kB / 3.722 GB, free: 36.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/9.951, allocations: 27.98 kB / 3.722 GB, free: 36.62 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (68): * Single equations (assignments): 68 * 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.0006336/9.952, allocations: 381 kB / 3.722 GB, free: 36.23 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/9.952, allocations: 102.7 kB / 3.722 GB, free: 36.13 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/9.954, allocations: 0.7937 MB / 3.723 GB, free: 35.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/9.954, allocations: 8 kB / 3.723 GB, free: 35.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/9.954, allocations: 3.984 kB / 3.723 GB, free: 35.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/9.955, allocations: 0.9658 MB / 3.724 GB, free: 34.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/9.958, allocations: 2.216 MB / 3.726 GB, free: 31.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/9.958, allocations: 8.062 kB / 3.726 GB, free: 31.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/9.959, allocations: 155.8 kB / 3.726 GB, free: 31.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/9.959, allocations: 15.19 kB / 3.726 GB, free: 31.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/9.959, allocations: 22.91 kB / 3.726 GB, free: 31.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/9.959, allocations: 7.984 kB / 3.726 GB, free: 31.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/9.959, allocations: 8 kB / 3.726 GB, free: 31.71 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/9.961, allocations: 1.475 MB / 3.728 GB, free: 30.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/9.962, allocations: 251.8 kB / 3.728 GB, free: 29.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/9.962, allocations: 27.88 kB / 3.728 GB, free: 29.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/9.963, allocations: 95.81 kB / 3.728 GB, free: 29.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/9.963, allocations: 40.38 kB / 3.728 GB, free: 29.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/9.963, allocations: 31.98 kB / 3.728 GB, free: 29.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007243/9.963, allocations: 0.5466 MB / 3.729 GB, free: 29.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.51e-07/9.963, allocations: 0 / 3.729 GB, free: 29.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002313/9.966, allocations: 0.7448 MB / 3.729 GB, free: 28.36 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (59): * Single equations (assignments): 59 * 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.00347/9.969, allocations: 2.352 MB / 3.732 GB, free: 25.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001941/9.971, allocations: 1.002 MB / 3.733 GB, free: 24.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/9.971, allocations: 4.875 kB / 3.733 GB, free: 24.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/9.972, allocations: 370.9 kB / 3.733 GB, free: 24.54 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/9.975, allocations: 0.5661 MB / 3.734 GB, free: 23.98 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/9.978, allocations: 2.622 MB / 3.736 GB, free: 21.31 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/9.979, allocations: 1.143 MB / 3.737 GB, free: 20.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00123/9.98, allocations: 291.8 kB / 3.738 GB, free: 19.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/9.98, allocations: 83.42 kB / 3.738 GB, free: 19.78 MB / 0.6667 GB Notification: Performance of SimCode: time 1.463e-06/9.98, allocations: 0 / 3.738 GB, free: 19.78 MB / 0.6667 GB Notification: Performance of Templates: time 0.5454/10.53, allocations: 45.32 MB / 3.782 GB, free: 94.94 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)