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/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 186.1 kB / 327.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 0.5785 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008746/0.0008747, allocations: 80.31 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 11.66 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2268, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/4.4, allocations: 2.201 GB / 3.102 GB, free: 16.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/4.4, allocations: 96.92 kB / 3.102 GB, free: 16.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.103/7.504, allocations: 0.8882 GB / 3.99 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/7.504, allocations: 2.344 kB / 3.99 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002101/7.504, allocations: 38.28 kB / 3.99 GB, free: 146.2 MB / 0.8855 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.005526/7.509, allocations: 1.742 MB / 3.992 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/7.509, allocations: 14.34 kB / 3.992 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/7.512, allocations: 416.1 kB / 3.992 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/7.515, allocations: 1.115 MB / 3.993 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/7.516, allocations: 62 kB / 3.993 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/7.516, allocations: 95.92 kB / 3.993 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/7.518, allocations: 0.8516 MB / 3.994 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/7.518, allocations: 2.25 kB / 3.994 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/7.518, allocations: 32 kB / 3.994 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/7.518, allocations: 34 kB / 3.994 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/7.52, allocations: 0.796 MB / 3.995 GB, free: 141.1 MB / 0.8855 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.00582/7.526, allocations: 3.68 MB / 3.999 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/7.527, allocations: 1.097 MB / 4 GB, free: 136 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/7.528, allocations: 387.2 kB / 4 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/7.528, allocations: 398.6 kB / 4.001 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/7.528, allocations: 54.17 kB / 4.001 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.498e-06/7.528, allocations: 0 / 4.001 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002188/7.531, allocations: 0.9954 MB / 4.002 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/7.531, allocations: 55.97 kB / 4.002 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/7.532, allocations: 0.8321 MB / 4.002 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-05/7.532, allocations: 40.83 kB / 4.002 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/7.532, allocations: 480.2 kB / 4.003 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/7.532, allocations: 216 kB / 4.003 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/7.532, allocations: 16 kB / 4.003 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/7.532, allocations: 322 kB / 4.003 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/7.533, allocations: 267.9 kB / 4.004 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/7.533, allocations: 407.5 kB / 4.004 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/7.534, allocations: 0.6187 MB / 4.005 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.534, allocations: 0 / 4.005 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001185/7.536, allocations: 0.765 MB / 4.005 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/7.536, allocations: 118.7 kB / 4.006 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/7.536, allocations: 7.547 kB / 4.006 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/7.536, allocations: 4 kB / 4.006 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/7.536, allocations: 135.8 kB / 4.006 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/7.536, allocations: 4 kB / 4.006 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/7.537, allocations: 136.7 kB / 4.006 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/7.537, allocations: 28 kB / 4.006 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/7.537, allocations: 5.094 kB / 4.006 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009526/7.538, allocations: 0.6369 MB / 4.006 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/7.538, allocations: 10.61 kB / 4.006 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/7.538, allocations: 11.88 kB / 4.006 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/7.539, allocations: 127.8 kB / 4.007 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/7.539, allocations: 4 kB / 4.007 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/7.54, allocations: 137.6 kB / 4.007 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/7.54, allocations: 24 kB / 4.007 GB, free: 128.7 MB / 0.8855 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.0006641/7.54, allocations: 380.9 kB / 4.007 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/7.541, allocations: 106.8 kB / 4.007 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/7.542, allocations: 0.7917 MB / 4.008 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/7.542, allocations: 8 kB / 4.008 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/7.542, allocations: 0 / 4.008 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000963/7.543, allocations: 0.9459 MB / 4.009 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/7.546, allocations: 2.262 MB / 4.011 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/7.546, allocations: 8 kB / 4.011 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/7.547, allocations: 159.7 kB / 4.011 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/7.547, allocations: 4 kB / 4.011 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/7.547, allocations: 27.62 kB / 4.011 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/7.547, allocations: 7.938 kB / 4.011 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/7.547, allocations: 4 kB / 4.011 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/7.548, allocations: 1.27 MB / 4.013 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/7.549, allocations: 275.1 kB / 4.013 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/7.549, allocations: 20 kB / 4.013 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/7.55, allocations: 128.7 kB / 4.013 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/7.55, allocations: 51.94 kB / 4.013 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/7.55, allocations: 35.05 kB / 4.013 GB, free: 122 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007056/7.551, allocations: 0.5705 MB / 4.014 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/7.551, allocations: 0 / 4.014 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002123/7.553, allocations: 0.7723 MB / 4.014 GB, free: 120.6 MB / 0.8855 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 (63): * Single equations (assignments): 63 * 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.003172/7.556, allocations: 2.348 MB / 4.017 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001667/7.558, allocations: 0.9744 MB / 4.018 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/7.558, allocations: 0 / 4.018 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/7.558, allocations: 351 kB / 4.018 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/7.562, allocations: 0.6792 MB / 4.019 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/7.566, allocations: 2.636 MB / 4.021 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/7.566, allocations: 1.128 MB / 4.022 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001277/7.567, allocations: 298.9 kB / 4.023 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/7.568, allocations: 83.42 kB / 4.023 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/7.568, allocations: 0 / 4.023 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.05926/7.627, allocations: 46.92 MB / 4.069 GB, free: 65.87 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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)