Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 180.9 kB / 361.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 98.66 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.741e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7602, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.493, allocations: 2.082 GB / 3.046 GB, free: 79.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/5.493, allocations: 91.94 kB / 3.046 GB, free: 79.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.61/9.104, allocations: 0.9063 GB / 3.952 GB, free: 160 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.607e-06/9.104, allocations: 3.969 kB / 3.952 GB, free: 160 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001377/9.104, allocations: 37.14 kB / 3.952 GB, free: 160 MB / 0.948 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.004712/9.109, allocations: 1.525 MB / 3.954 GB, free: 159.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/9.109, allocations: 7.688 kB / 3.954 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/9.112, allocations: 425.7 kB / 3.954 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/9.114, allocations: 1.058 MB / 3.955 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/9.115, allocations: 26.44 kB / 3.955 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/9.115, allocations: 50.34 kB / 3.955 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001299/9.116, allocations: 0.6816 MB / 3.956 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/9.117, allocations: 0.6845 MB / 3.957 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/9.117, allocations: 0 / 3.957 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/9.117, allocations: 0 / 3.957 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/9.117, allocations: 33.7 kB / 3.957 GB, free: 159 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004723/9.122, allocations: 3.484 MB / 3.96 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/9.123, allocations: 1.04 MB / 3.961 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/9.124, allocations: 330.1 kB / 3.961 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/9.124, allocations: 400.9 kB / 3.962 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/9.124, allocations: 48.34 kB / 3.962 GB, free: 156.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.448e-06/9.124, allocations: 0 / 3.962 GB, free: 156.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002006/9.126, allocations: 0.7097 MB / 3.963 GB, free: 156.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/9.126, allocations: 58.78 kB / 3.963 GB, free: 156.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/9.127, allocations: 0.5926 MB / 3.963 GB, free: 156.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/9.127, allocations: 29.42 kB / 3.963 GB, free: 156.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/9.128, allocations: 488.1 kB / 3.964 GB, free: 156 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/9.128, allocations: 204.2 kB / 3.964 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/9.128, allocations: 0 / 3.964 GB, free: 155.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/9.128, allocations: 332.5 kB / 3.964 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/9.128, allocations: 213.3 kB / 3.964 GB, free: 155.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/9.129, allocations: 358.3 kB / 3.965 GB, free: 155.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/9.129, allocations: 341.8 kB / 3.965 GB, free: 155.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/9.129, allocations: 0 / 3.965 GB, free: 155.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001199/9.131, allocations: 0.7149 MB / 3.966 GB, free: 155.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/9.131, allocations: 466.4 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/9.131, allocations: 0 / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/9.131, allocations: 6.891 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/9.131, allocations: 135.7 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/9.131, allocations: 8.5 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/9.132, allocations: 108.7 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/9.133, allocations: 23.84 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/9.133, allocations: 3.719 kB / 3.966 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000963/9.134, allocations: 0.5901 MB / 3.967 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/9.134, allocations: 3.656 kB / 3.967 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/9.134, allocations: 3.188 kB / 3.967 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/9.134, allocations: 131.1 kB / 3.967 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/9.134, allocations: 3.156 kB / 3.967 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/9.135, allocations: 104.9 kB / 3.967 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/9.135, allocations: 24.75 kB / 3.967 GB, free: 154.8 MB / 0.948 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 () * 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.0001751/9.135, allocations: 126.3 kB / 3.967 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/9.135, allocations: 100.8 kB / 3.968 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/9.137, allocations: 0.7268 MB / 3.968 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/9.137, allocations: 6.594 kB / 3.968 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/9.137, allocations: 7.719 kB / 3.968 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009808/9.138, allocations: 0.912 MB / 3.969 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/9.141, allocations: 2.089 MB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/9.141, allocations: 3.938 kB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/9.142, allocations: 162.6 kB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/9.142, allocations: 3.625 kB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/9.142, allocations: 7.375 kB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/9.142, allocations: 17.62 kB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/9.142, allocations: 10.11 kB / 3.971 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/9.144, allocations: 1.338 MB / 3.973 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/9.144, allocations: 249.2 kB / 3.973 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/9.144, allocations: 9.594 kB / 3.973 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/9.145, allocations: 115 kB / 3.973 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/9.145, allocations: 56.91 kB / 3.973 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/9.145, allocations: 24.59 kB / 3.973 GB, free: 152.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005862/9.146, allocations: 471.2 kB / 3.974 GB, free: 152.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/9.146, allocations: 0 / 3.974 GB, free: 152.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002004/9.148, allocations: 0.6785 MB / 3.974 GB, free: 152.8 MB / 0.948 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 () * 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.00364/9.152, allocations: 2.577 MB / 3.977 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001459/9.153, allocations: 0.8576 MB / 3.978 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/9.153, allocations: 0 / 3.978 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/9.154, allocations: 308.7 kB / 3.978 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/9.157, allocations: 0.6054 MB / 3.978 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/9.16, allocations: 1.679 MB / 3.98 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/9.161, allocations: 1.15 MB / 3.981 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001477/9.162, allocations: 346.8 kB / 3.982 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/9.162, allocations: 66.3 kB / 3.982 GB, free: 150.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/9.162, allocations: 0 / 3.982 GB, free: 150.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05162/9.214, allocations: 32.08 MB / 4.013 GB, free: 148.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)