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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2859/0.2859, allocations: 54.34 MB / 66.9 MB, free: 6.086 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.7 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.7/1.7, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.00163, allocations: 106.2 kB / 346.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.124e-05, allocations: 0 / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 57.65 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.034/5.157, allocations: 2.138 GB / 2.597 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/5.158, allocations: 87.95 kB / 2.597 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.13/8.287, allocations: 0.8446 GB / 3.441 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/8.287, allocations: 0 / 3.441 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001162/8.287, allocations: 41.88 kB / 3.441 GB, free: 60.86 MB / 0.5261 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.003343/8.291, allocations: 1.619 MB / 3.443 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/8.291, allocations: 12.98 kB / 3.443 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/8.293, allocations: 401.6 kB / 3.443 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/8.295, allocations: 1.161 MB / 3.444 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/8.295, allocations: 81.42 kB / 3.445 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/8.296, allocations: 97.59 kB / 3.445 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/8.298, allocations: 1.04 MB / 3.446 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/8.298, allocations: 0 / 3.446 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/8.298, allocations: 43.62 kB / 3.446 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/8.298, allocations: 34.41 kB / 3.446 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/8.3, allocations: 0.9375 MB / 3.447 GB, free: 59.76 MB / 0.5261 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.005036/8.305, allocations: 4.224 MB / 3.451 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/8.306, allocations: 1.159 MB / 3.452 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/8.307, allocations: 337.4 kB / 3.452 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/8.307, allocations: 123.5 kB / 3.452 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/8.307, allocations: 53.56 kB / 3.452 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.825e-06/8.307, allocations: 0 / 3.452 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.001964/8.309, allocations: 0.7823 MB / 3.453 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/8.309, allocations: 61.44 kB / 3.453 GB, free: 57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/8.31, allocations: 0.7956 MB / 3.454 GB, free: 56.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/8.31, allocations: 38.42 kB / 3.454 GB, free: 56.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/8.31, allocations: 0.5275 MB / 3.455 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/8.311, allocations: 225.7 kB / 3.455 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/8.311, allocations: 15.34 kB / 3.455 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/8.311, allocations: 336.9 kB / 3.455 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/8.311, allocations: 259.2 kB / 3.455 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/8.311, allocations: 388.5 kB / 3.456 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/8.312, allocations: 316 kB / 3.456 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/8.312, allocations: 3.312 kB / 3.456 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001055/8.313, allocations: 0.793 MB / 3.457 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/8.313, allocations: 0.7057 MB / 3.458 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/8.313, allocations: 3.953 kB / 3.458 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/8.313, allocations: 6.656 kB / 3.458 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/8.314, allocations: 178 kB / 3.458 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/8.314, allocations: 7.812 kB / 3.458 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/8.315, allocations: 155.4 kB / 3.458 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/8.315, allocations: 21.03 kB / 3.458 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-06/8.315, allocations: 7.188 kB / 3.458 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008622/8.316, allocations: 0.6466 MB / 3.458 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/8.316, allocations: 7.781 kB / 3.459 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/8.316, allocations: 3.938 kB / 3.459 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/8.317, allocations: 157.5 kB / 3.459 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/8.317, allocations: 7.188 kB / 3.459 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/8.317, allocations: 135.3 kB / 3.459 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/8.317, allocations: 21.91 kB / 3.459 GB, free: 55.18 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/8.318, allocations: 150.7 kB / 3.459 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/8.318, allocations: 118 kB / 3.459 GB, free: 55.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/8.319, allocations: 0.7484 MB / 3.46 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/8.319, allocations: 10.77 kB / 3.46 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/8.319, allocations: 0 / 3.46 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000839/8.32, allocations: 0.8994 MB / 3.461 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/8.323, allocations: 2.252 MB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/8.323, allocations: 3.719 kB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/8.324, allocations: 171 kB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/8.324, allocations: 7.906 kB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/8.324, allocations: 20.03 kB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/8.324, allocations: 5.25 kB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/8.324, allocations: 9.062 kB / 3.463 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/8.325, allocations: 1.416 MB / 3.464 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/8.326, allocations: 290.6 kB / 3.465 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/8.326, allocations: 17.2 kB / 3.465 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/8.327, allocations: 115.2 kB / 3.465 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/8.327, allocations: 56.66 kB / 3.465 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/8.327, allocations: 37.84 kB / 3.465 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006813/8.328, allocations: 0.6223 MB / 3.466 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/8.328, allocations: 0 / 3.466 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002256/8.33, allocations: 0.8322 MB / 3.466 GB, free: 53.01 MB / 0.5261 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 () * 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.003346/8.333, allocations: 2.298 MB / 3.469 GB, free: 52.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00159/8.335, allocations: 1.026 MB / 3.47 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/8.335, allocations: 3.812 kB / 3.47 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/8.335, allocations: 350.7 kB / 3.47 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/8.338, allocations: 0.6558 MB / 3.471 GB, free: 52.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/8.341, allocations: 1.884 MB / 3.472 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/8.342, allocations: 1.194 MB / 3.474 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001692/8.344, allocations: 426.2 kB / 3.474 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/8.344, allocations: 77.14 kB / 3.474 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/8.344, allocations: 0 / 3.474 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.0779/8.422, allocations: 56.36 MB / 3.529 GB, free: 44.52 MB / 0.5261 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)