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.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001765/0.001765, allocations: 194.3 kB / 16.14 MB, free: 6.699 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.591/1.591, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4298/0.4298, allocations: 54.93 MB / 324.3 MB, free: 104 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.001381/0.001381, allocations: 64.47 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2009, allocations: 59.59 MB / 454.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 1.032/1.233, allocations: 237.8 MB / 0.6758 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01385/1.247, allocations: 6.911 MB / 0.6826 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/1.25, allocations: 43.56 kB / 0.6826 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/1.253, allocations: 0.6927 MB / 0.6833 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01/1.263, allocations: 1.771 MB / 0.685 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008227/1.272, allocations: 1.803 MB / 0.6868 GB, free: 19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01118/1.283, allocations: 5.126 MB / 0.6918 GB, free: 19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/1.285, allocations: 1.014 MB / 0.6928 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/1.291, allocations: 1.579 MB / 0.6943 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/1.295, allocations: 1.134 MB / 0.6954 GB, free: 18.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004474/1.296, allocations: 71.81 kB / 0.6955 GB, free: 18.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007009/1.303, allocations: 2.378 MB / 0.6978 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.304, allocations: 0.4939 MB / 0.6983 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/1.306, allocations: 0.7592 MB / 0.699 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007058/1.313, allocations: 2.936 MB / 0.7019 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.313, allocations: 0 / 0.7019 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/1.313, allocations: 4 kB / 0.7019 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-05/1.313, allocations: 3.938 kB / 0.7019 GB, free: 17.88 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.003897/1.317, allocations: 1.854 MB / 0.7037 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.317, allocations: 11.22 kB / 0.7037 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/1.32, allocations: 410.3 kB / 0.7041 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.322, allocations: 0.9958 MB / 0.7051 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/1.322, allocations: 75.22 kB / 0.7052 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/1.322, allocations: 97.75 kB / 0.7052 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/1.326, allocations: 1.288 MB / 0.7065 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.326, allocations: 0.8125 kB / 0.7065 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.326, allocations: 45.97 kB / 0.7065 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/1.326, allocations: 44.67 kB / 0.7066 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/1.329, allocations: 1.191 MB / 0.7078 GB, free: 15.49 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.005705/1.335, allocations: 4.281 MB / 0.7119 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/1.338, allocations: 1.348 MB / 0.7133 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/1.338, allocations: 361.2 kB / 0.7136 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/1.339, allocations: 125 kB / 0.7137 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/1.339, allocations: 46.94 kB / 0.7138 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.627e-06/1.339, allocations: 4 kB / 0.7138 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63): time 0.004444/1.343, allocations: 1.393 MB / 0.7151 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.343, allocations: 63.72 kB / 0.7152 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.345, allocations: 0.9589 MB / 0.7161 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.282e-05/1.345, allocations: 46.89 kB / 0.7162 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/1.345, allocations: 0.5343 MB / 0.7167 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/1.345, allocations: 225.5 kB / 0.7169 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/1.345, allocations: 131.8 kB / 0.717 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/1.345, allocations: 328 kB / 0.7173 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/1.346, allocations: 368.5 kB / 0.7177 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/1.347, allocations: 0.4913 MB / 0.7182 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/1.349, allocations: 0.8148 MB / 0.719 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.349, allocations: 0 / 0.719 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001942/1.351, allocations: 0.9959 MB / 0.7199 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.351, allocations: 4 kB / 0.7199 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.351, allocations: 4 kB / 0.7199 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.351, allocations: 5.094 kB / 0.72 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/1.352, allocations: 191.3 kB / 0.7201 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.352, allocations: 4 kB / 0.7201 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.353, allocations: 186.7 kB / 0.7203 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/1.353, allocations: 23.98 kB / 0.7203 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009111/1.354, allocations: 0.5363 MB / 0.7209 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004768/1.355, allocations: 410.5 kB / 0.7213 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008835/1.356, allocations: 0.6553 MB / 0.7219 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/1.356, allocations: 3.938 kB / 0.7219 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001256/1.357, allocations: 0.8153 MB / 0.7227 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.357, allocations: 7.938 kB / 0.7227 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.357, allocations: 9.328 kB / 0.7227 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/1.357, allocations: 8 kB / 0.7227 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/1.357, allocations: 143.5 kB / 0.7229 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.358, allocations: 14.55 kB / 0.7229 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.359, allocations: 123.4 kB / 0.723 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/1.359, allocations: 24 kB / 0.723 GB, free: 4.52 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.0002404/1.359, allocations: 219.8 kB / 0.7232 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.359, allocations: 110.7 kB / 0.7233 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/1.361, allocations: 0.9523 MB / 0.7243 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.361, allocations: 11.94 kB / 0.7243 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.361, allocations: 0 / 0.7243 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/1.363, allocations: 1.097 MB / 0.7253 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/1.367, allocations: 2.56 MB / 0.7278 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.367, allocations: 4.375 kB / 0.7278 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/1.368, allocations: 183.5 kB / 0.728 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/1.368, allocations: 4 kB / 0.728 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/1.368, allocations: 23.98 kB / 0.728 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/1.368, allocations: 4 kB / 0.728 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.368, allocations: 10.56 kB / 0.7281 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/1.372, allocations: 1.579 MB / 0.7296 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/1.372, allocations: 303.6 kB / 0.7299 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.373, allocations: 16 kB / 0.7299 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.374, allocations: 139.8 kB / 0.73 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.374, allocations: 54.84 kB / 0.7301 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.374, allocations: 39.97 kB / 0.7301 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001025/1.375, allocations: 0.6625 MB / 0.7308 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.375, allocations: 0 / 0.7308 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001693/1.377, allocations: 0.6196 MB / 0.7314 GB, free: 11.69 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.0005845/1.377, allocations: 215.7 kB / 0.7316 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002853/1.38, allocations: 1.219 MB / 0.7328 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.38, allocations: 0.8125 kB / 0.7328 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/1.381, allocations: 444.4 kB / 0.7332 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.385, allocations: 0.7367 MB / 0.7339 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/1.39, allocations: 2.835 MB / 0.7367 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/1.391, allocations: 1.168 MB / 0.7378 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001858/1.393, allocations: 312.8 kB / 0.7381 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/1.393, allocations: 99.41 kB / 0.7382 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of SimCode: time 1.473e-06/1.393, allocations: 0 / 0.7382 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.04318/1.436, allocations: 24.12 MB / 0.7618 GB, free: 12.91 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)