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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008318, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009407/0.0009408, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.738/1.738, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006082/0.0006088, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6505, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8614/1.512, allocations: 219.2 MB / 0.9422 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01449/1.527, allocations: 6.859 MB / 0.9489 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/1.529, allocations: 43.91 kB / 0.9489 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/1.531, allocations: 472.5 kB / 0.9494 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/1.536, allocations: 1.532 MB / 0.9509 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/1.542, allocations: 1.466 MB / 0.9523 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006973/1.549, allocations: 3.822 MB / 0.956 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/1.55, allocations: 0.8198 MB / 0.9568 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/1.555, allocations: 1.445 MB / 0.9582 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/1.556, allocations: 0.9135 MB / 0.9591 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/1.556, allocations: 50.28 kB / 0.9592 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/1.56, allocations: 1.393 MB / 0.9605 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004656/1.561, allocations: 388.6 kB / 0.9609 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/1.561, allocations: 289.8 kB / 0.9612 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/1.564, allocations: 1.811 MB / 0.963 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.564, allocations: 7 kB / 0.963 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/1.564, allocations: 0 / 0.963 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.984e-05/1.564, allocations: 0 / 0.963 GB, free: 4.969 MB / 0.7169 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.0034/1.567, allocations: 1.484 MB / 0.9644 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.567, allocations: 11.67 kB / 0.9644 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/1.57, allocations: 431.7 kB / 0.9648 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/1.572, allocations: 0.9168 MB / 0.9657 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/1.572, allocations: 65.66 kB / 0.9658 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.572, allocations: 85 kB / 0.9659 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.573, allocations: 0.8867 MB / 0.9667 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.573, allocations: 0 / 0.9667 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/1.574, allocations: 29.66 kB / 0.9668 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/1.574, allocations: 31.34 kB / 0.9668 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/1.575, allocations: 0.8211 MB / 0.9676 GB, free: 19.62 MB / 0.7325 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.004961/1.58, allocations: 3.655 MB / 0.9712 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.581, allocations: 1.096 MB / 0.9722 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/1.582, allocations: 376 kB / 0.9726 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/1.583, allocations: 420.4 kB / 0.973 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/1.583, allocations: 42.88 kB / 0.973 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 4.238e-06/1.583, allocations: 4 kB / 0.973 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.002078/1.585, allocations: 0.9847 MB / 0.974 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.585, allocations: 57.69 kB / 0.9741 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.586, allocations: 0.829 MB / 0.9749 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/1.586, allocations: 39.17 kB / 0.9749 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/1.587, allocations: 478.9 kB / 0.9754 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.587, allocations: 211.8 kB / 0.9756 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/1.587, allocations: 9 kB / 0.9756 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.587, allocations: 329.9 kB / 0.9759 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/1.587, allocations: 249.2 kB / 0.9761 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/1.588, allocations: 381 kB / 0.9765 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/1.588, allocations: 297.7 kB / 0.9768 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.588, allocations: 0 / 0.9768 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001206/1.59, allocations: 0.736 MB / 0.9775 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/1.59, allocations: 131.3 kB / 0.9776 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.59, allocations: 5.766 kB / 0.9776 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.59, allocations: 3.188 kB / 0.9776 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/1.59, allocations: 131.4 kB / 0.9778 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.59, allocations: 8.938 kB / 0.9778 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/1.591, allocations: 125.4 kB / 0.9779 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/1.591, allocations: 27.41 kB / 0.9779 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/1.591, allocations: 3.219 kB / 0.9779 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/1.592, allocations: 0.6153 MB / 0.9785 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.592, allocations: 0 / 0.9785 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.593, allocations: 5.812 kB / 0.9785 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/1.593, allocations: 128.7 kB / 0.9786 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.593, allocations: 13.02 kB / 0.9786 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/1.594, allocations: 123.8 kB / 0.9788 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/1.594, allocations: 18.56 kB / 0.9788 GB, free: 15.54 MB / 0.7325 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.0006669/1.595, allocations: 392 kB / 0.9792 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.595, allocations: 99.84 kB / 0.9793 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/1.596, allocations: 0.7631 MB / 0.98 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/1.596, allocations: 6.062 kB / 0.98 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.596, allocations: 0 / 0.98 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/1.597, allocations: 0.9164 MB / 0.9809 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/1.601, allocations: 2.259 MB / 0.9831 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.601, allocations: 2.969 kB / 0.9831 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/1.601, allocations: 144.7 kB / 0.9832 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/1.601, allocations: 8.312 kB / 0.9833 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/1.602, allocations: 17.38 kB / 0.9833 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/1.602, allocations: 11.47 kB / 0.9833 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/1.602, allocations: 6.188 kB / 0.9833 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.604, allocations: 1.282 MB / 0.9845 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/1.604, allocations: 259.2 kB / 0.9848 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/1.604, allocations: 21.45 kB / 0.9848 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/1.605, allocations: 106.6 kB / 0.9849 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.605, allocations: 47.66 kB / 0.985 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/1.605, allocations: 22.83 kB / 0.985 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001123/1.607, allocations: 0.5837 MB / 0.9855 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.607, allocations: 2.688 kB / 0.9855 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002038/1.609, allocations: 0.5366 MB / 0.9861 GB, free: 13.41 MB / 0.7325 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 (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.0007604/1.609, allocations: 243.1 kB / 0.9863 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001777/1.611, allocations: 0.9556 MB / 0.9872 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.611, allocations: 2.969 kB / 0.9872 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/1.612, allocations: 350.1 kB / 0.9876 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.615, allocations: 0.6152 MB / 0.9882 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/1.618, allocations: 2.63 MB / 0.9907 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/1.619, allocations: 1.125 MB / 0.9918 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001359/1.621, allocations: 297.3 kB / 0.9921 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/1.621, allocations: 76.66 kB / 0.9922 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of SimCode: time 4.739e-06/1.621, allocations: 0 / 0.9922 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.03535/1.656, allocations: 19.24 MB / 1.011 GB, free: 14.69 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: