Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001129/0.001129, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001474/0.001473, allocations: 189.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4069/0.4069, allocations: 54.94 MB / 324.4 MB, free: 136 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.91 kB / 394.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1884, allocations: 59.59 MB / 454.5 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 1.103/1.291, allocations: 237 MB / 0.6752 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01337/1.304, allocations: 6.791 MB / 0.6819 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00277/1.307, allocations: 42.97 kB / 0.6819 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002895/1.31, allocations: 0.7234 MB / 0.6826 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/1.317, allocations: 1.746 MB / 0.6843 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006955/1.324, allocations: 1.833 MB / 0.6861 GB, free: 19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00808/1.333, allocations: 3.749 MB / 0.6898 GB, free: 19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/1.336, allocations: 1.186 MB / 0.6909 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005694/1.341, allocations: 1.805 MB / 0.6927 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/1.346, allocations: 1.174 MB / 0.6938 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005177/1.346, allocations: 147.5 kB / 0.694 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/1.353, allocations: 2.221 MB / 0.6962 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000956/1.354, allocations: 0.5672 MB / 0.6967 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/1.355, allocations: 0.8455 MB / 0.6975 GB, free: 18.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/1.362, allocations: 2.992 MB / 0.7005 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.362, allocations: 0.8125 kB / 0.7005 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.955e-06/1.362, allocations: 1.188 kB / 0.7005 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.319e-05/1.362, allocations: 0.6875 kB / 0.7005 GB, free: 18.25 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003431/1.365, allocations: 1.857 MB / 0.7023 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.365, allocations: 10.84 kB / 0.7023 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/1.368, allocations: 415.2 kB / 0.7027 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.369, allocations: 0.9966 MB / 0.7036 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/1.37, allocations: 73.25 kB / 0.7037 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/1.37, allocations: 106.1 kB / 0.7038 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/1.373, allocations: 1.283 MB / 0.7051 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/1.373, allocations: 0 / 0.7051 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.373, allocations: 44.81 kB / 0.7051 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/1.373, allocations: 43.02 kB / 0.7052 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/1.376, allocations: 1.194 MB / 0.7063 GB, free: 16.81 MB / 0.4981 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.005009/1.381, allocations: 4.276 MB / 0.7105 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/1.384, allocations: 1.349 MB / 0.7118 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/1.384, allocations: 360.1 kB / 0.7122 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/1.384, allocations: 132 kB / 0.7123 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.385, allocations: 42.94 kB / 0.7123 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.276e-06/1.385, allocations: 0.875 kB / 0.7123 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63): time 0.004215/1.389, allocations: 1.398 MB / 0.7137 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/1.389, allocations: 62.69 kB / 0.7138 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.39, allocations: 0.9574 MB / 0.7147 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/1.39, allocations: 44.42 kB / 0.7147 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/1.39, allocations: 0.5365 MB / 0.7153 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.391, allocations: 225.6 kB / 0.7155 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/1.391, allocations: 134.1 kB / 0.7156 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/1.391, allocations: 328.6 kB / 0.7159 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/1.392, allocations: 371.8 kB / 0.7163 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008813/1.393, allocations: 497 kB / 0.7167 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/1.394, allocations: 0.8132 MB / 0.7175 GB, free: 11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.394, allocations: 0.5625 kB / 0.7175 GB, free: 11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001875/1.396, allocations: 0.9939 MB / 0.7185 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.396, allocations: 12.22 kB / 0.7185 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.396, allocations: 0 / 0.7185 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.396, allocations: 7.984 kB / 0.7185 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/1.397, allocations: 192.5 kB / 0.7187 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.397, allocations: 6.531 kB / 0.7187 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.398, allocations: 183 kB / 0.7189 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/1.398, allocations: 24.7 kB / 0.7189 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008118/1.399, allocations: 0.5363 MB / 0.7194 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004534/1.4, allocations: 410.4 kB / 0.7198 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008312/1.4, allocations: 0.6512 MB / 0.7205 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/1.4, allocations: 0 / 0.7205 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001247/1.402, allocations: 0.8209 MB / 0.7213 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.402, allocations: 8 kB / 0.7213 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/1.402, allocations: 1.25 kB / 0.7213 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/1.402, allocations: 4 kB / 0.7213 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/1.402, allocations: 149.3 kB / 0.7214 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.402, allocations: 16.09 kB / 0.7214 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.403, allocations: 119.4 kB / 0.7215 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/1.403, allocations: 27.98 kB / 0.7216 GB, free: 6.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (82): * Single equations (assignments): 82 * 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.0002454/1.404, allocations: 226.4 kB / 0.7218 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/1.404, allocations: 114.7 kB / 0.7219 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/1.406, allocations: 0.9464 MB / 0.7228 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.406, allocations: 11.94 kB / 0.7228 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.406, allocations: 4 kB / 0.7228 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/1.407, allocations: 1.087 MB / 0.7239 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/1.411, allocations: 2.563 MB / 0.7264 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.411, allocations: 6.625 kB / 0.7264 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/1.412, allocations: 185.3 kB / 0.7266 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/1.412, allocations: 4 kB / 0.7266 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/1.412, allocations: 19.98 kB / 0.7266 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.412, allocations: 10.47 kB / 0.7266 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.412, allocations: 7.938 kB / 0.7266 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/1.415, allocations: 1.577 MB / 0.7282 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/1.416, allocations: 303.6 kB / 0.7285 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/1.416, allocations: 19.98 kB / 0.7285 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/1.417, allocations: 132.7 kB / 0.7286 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.417, allocations: 50.94 kB / 0.7287 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.417, allocations: 47.97 kB / 0.7287 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001108/1.418, allocations: 0.6664 MB / 0.7293 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/1.418, allocations: 0 / 0.7293 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001927/1.42, allocations: 0.6157 MB / 0.7299 GB, free: 14 MB / 0.5137 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 (63): * Single equations (assignments): 63 * 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.0006567/1.421, allocations: 209.3 kB / 0.7301 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003108/1.424, allocations: 1.289 MB / 0.7314 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.424, allocations: 4 kB / 0.7314 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/1.425, allocations: 445.6 kB / 0.7318 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.429, allocations: 0.7134 MB / 0.7325 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/1.434, allocations: 2.847 MB / 0.7353 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009922/1.435, allocations: 1.171 MB / 0.7365 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001968/1.437, allocations: 317 kB / 0.7368 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/1.438, allocations: 95.41 kB / 0.7368 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of SimCode: time 1.903e-06/1.438, allocations: 3.938 kB / 0.7369 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of Templates: time 0.04352/1.481, allocations: 24.65 MB / 0.7609 GB, free: 14.68 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)