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.001883/0.001883, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002656/0.002656, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.585/1.585, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4995/0.4995, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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.001821/0.001821, allocations: 75.83 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1855, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.9975/1.183, allocations: 239.9 MB / 0.6785 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01433/1.197, allocations: 6.824 MB / 0.6852 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/1.201, allocations: 50.41 kB / 0.6852 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/1.204, allocations: 0.8198 MB / 0.686 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006743/1.211, allocations: 1.864 MB / 0.6878 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/1.217, allocations: 1.963 MB / 0.6898 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007414/1.225, allocations: 3.738 MB / 0.6934 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/1.228, allocations: 1.223 MB / 0.6946 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00688/1.235, allocations: 1.788 MB / 0.6964 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/1.239, allocations: 1.102 MB / 0.6974 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009888/1.24, allocations: 147.3 kB / 0.6976 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007657/1.247, allocations: 2.144 MB / 0.6997 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/1.249, allocations: 0.5594 MB / 0.7002 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002676/1.252, allocations: 0.8392 MB / 0.701 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007182/1.259, allocations: 2.871 MB / 0.7038 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.259, allocations: 0.7812 kB / 0.7038 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.259, allocations: 2.781 kB / 0.7038 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.625e-05/1.259, allocations: 0.875 kB / 0.7038 GB, free: 18.36 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.004915/1.264, allocations: 1.855 MB / 0.7056 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.264, allocations: 7.562 kB / 0.7057 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/1.267, allocations: 410.3 kB / 0.706 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/1.27, allocations: 0.9959 MB / 0.707 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/1.27, allocations: 79.81 kB / 0.7071 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/1.27, allocations: 98.97 kB / 0.7072 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/1.273, allocations: 1.288 MB / 0.7084 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/1.273, allocations: 0.9062 kB / 0.7084 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.274, allocations: 44.09 kB / 0.7085 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/1.274, allocations: 38.67 kB / 0.7085 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/1.277, allocations: 1.189 MB / 0.7097 GB, free: 16.21 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.005813/1.282, allocations: 4.33 MB / 0.7139 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/1.285, allocations: 1.343 MB / 0.7152 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/1.286, allocations: 363 kB / 0.7156 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/1.286, allocations: 128.4 kB / 0.7157 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.286, allocations: 55.39 kB / 0.7157 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.236e-06/1.286, allocations: 3.938 kB / 0.7158 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63): time 0.00461/1.291, allocations: 1.394 MB / 0.7171 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/1.291, allocations: 57.59 kB / 0.7172 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.292, allocations: 0.9572 MB / 0.7181 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/1.292, allocations: 49.14 kB / 0.7182 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.292, allocations: 0.5364 MB / 0.7187 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.293, allocations: 231.2 kB / 0.7189 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.293, allocations: 126.2 kB / 0.719 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/1.293, allocations: 330 kB / 0.7193 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/1.294, allocations: 375.2 kB / 0.7197 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/1.294, allocations: 493.7 kB / 0.7202 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/1.296, allocations: 0.8118 MB / 0.721 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.296, allocations: 4 kB / 0.721 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001939/1.298, allocations: 0.9926 MB / 0.7219 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.298, allocations: 7.938 kB / 0.7219 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.298, allocations: 4 kB / 0.7219 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.298, allocations: 4 kB / 0.7219 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/1.299, allocations: 194 kB / 0.7221 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.299, allocations: 7.984 kB / 0.7221 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/1.3, allocations: 123.1 kB / 0.7223 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/1.3, allocations: 23.94 kB / 0.7223 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008885/1.301, allocations: 0.5402 MB / 0.7228 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000507/1.302, allocations: 407.5 kB / 0.7232 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009285/1.303, allocations: 0.6579 MB / 0.7238 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.055e-06/1.303, allocations: 0 / 0.7238 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001177/1.304, allocations: 0.8177 MB / 0.7246 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.304, allocations: 4 kB / 0.7246 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.304, allocations: 7.562 kB / 0.7246 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.304, allocations: 7.938 kB / 0.7246 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/1.304, allocations: 149.3 kB / 0.7248 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.304, allocations: 4.781 kB / 0.7248 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/1.305, allocations: 76.33 kB / 0.7249 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/1.305, allocations: 20 kB / 0.7249 GB, free: 4.832 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.0003496/1.306, allocations: 225.6 kB / 0.7251 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.306, allocations: 122.5 kB / 0.7252 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/1.308, allocations: 0.946 MB / 0.7261 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.308, allocations: 8 kB / 0.7262 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.308, allocations: 0 / 0.7262 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001611/1.31, allocations: 1.095 MB / 0.7272 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/1.313, allocations: 2.559 MB / 0.7297 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.314, allocations: 4.094 kB / 0.7297 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/1.314, allocations: 178.1 kB / 0.7299 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.314, allocations: 12.81 kB / 0.7299 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/1.315, allocations: 23.92 kB / 0.7299 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/1.315, allocations: 7.188 kB / 0.7299 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.315, allocations: 4 kB / 0.7299 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/1.318, allocations: 1.582 MB / 0.7315 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/1.319, allocations: 303.6 kB / 0.7318 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.319, allocations: 17.31 kB / 0.7318 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.32, allocations: 83.91 kB / 0.7319 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.32, allocations: 48.38 kB / 0.7319 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.32, allocations: 51 kB / 0.732 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00108/1.321, allocations: 0.6664 MB / 0.7326 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.321, allocations: 0 / 0.7326 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001594/1.323, allocations: 0.6196 MB / 0.7332 GB, free: 12.04 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.0005335/1.323, allocations: 210.7 kB / 0.7334 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003025/1.326, allocations: 1.283 MB / 0.7347 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.326, allocations: 8 kB / 0.7347 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.327, allocations: 446.8 kB / 0.7351 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/1.331, allocations: 0.7099 MB / 0.7358 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/1.335, allocations: 2.415 MB / 0.7382 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/1.335, allocations: 1.171 MB / 0.7393 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001437/1.337, allocations: 317.6 kB / 0.7396 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/1.337, allocations: 91.41 kB / 0.7397 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/1.337, allocations: 0 / 0.7397 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of Templates: time 0.04406/1.381, allocations: 24.88 MB / 0.764 GB, free: 12.92 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)