Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001643/0.001643, allocations: 109.8 kB / 16.41 MB, free: 6.508 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.001342/0.001342, allocations: 185.6 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8564/0.8564, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 73.91 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1678, allocations: 80.93 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6363/0.8041, allocations: 240.4 MB / 0.9002 GB, free: 14.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.817, allocations: 7.218 MB / 0.9072 GB, free: 7.402 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.819, allocations: 55.62 kB / 0.9073 GB, free: 7.348 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.822, allocations: 0.7261 MB / 0.908 GB, free: 6.617 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.8286, allocations: 2.162 MB / 0.9101 GB, free: 4.449 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.8343, allocations: 2.062 MB / 0.9121 GB, free: 2.398 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005598/0.8399, allocations: 3.277 MB / 0.9153 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.8417, allocations: 0.931 MB / 0.9162 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0048/0.8465, allocations: 1.857 MB / 0.918 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.8487, allocations: 0.9666 MB / 0.919 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.849, allocations: 124 kB / 0.9191 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005088/0.8541, allocations: 2.498 MB / 0.9215 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.8548, allocations: 474.5 kB / 0.922 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.856, allocations: 0.7155 MB / 0.9227 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.862, allocations: 2.698 MB / 0.9253 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.862, allocations: 4 kB / 0.9253 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.184e-06/0.862, allocations: 0 / 0.9253 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.226e-05/0.862, allocations: 0 / 0.9253 GB, free: 4.805 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003667/0.8657, allocations: 1.765 MB / 0.927 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.8657, allocations: 13.11 kB / 0.927 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.8684, allocations: 426.8 kB / 0.9275 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.8704, allocations: 1.035 MB / 0.9285 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.8704, allocations: 66 kB / 0.9285 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.8706, allocations: 80 kB / 0.9286 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.8723, allocations: 0.8585 MB / 0.9294 GB, free: 480 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.8723, allocations: 0 / 0.9294 GB, free: 480 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.8724, allocations: 32 kB / 0.9295 GB, free: 448 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/0.8725, allocations: 30 kB / 0.9295 GB, free: 420 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.8741, allocations: 0.812 MB / 0.9303 GB, free: 15.59 MB / 0.7012 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.005427/0.8795, allocations: 3.651 MB / 0.9339 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8811, allocations: 1.055 MB / 0.9349 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.8817, allocations: 350.3 kB / 0.9352 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.8824, allocations: 404.9 kB / 0.9356 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.8825, allocations: 43.12 kB / 0.9357 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.8825, allocations: 0 / 0.9357 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002349/0.8848, allocations: 0.959 MB / 0.9366 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.8849, allocations: 59.91 kB / 0.9366 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.8861, allocations: 0.84 MB / 0.9375 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/0.8862, allocations: 41.69 kB / 0.9375 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.8866, allocations: 492.8 kB / 0.938 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.8869, allocations: 222 kB / 0.9382 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.8871, allocations: 114.2 kB / 0.9383 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8873, allocations: 330 kB / 0.9386 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.8878, allocations: 255 kB / 0.9389 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.8886, allocations: 368.3 kB / 0.9392 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.8897, allocations: 0.593 MB / 0.9398 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.8897, allocations: 0 / 0.9398 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001553/0.8913, allocations: 0.7365 MB / 0.9405 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8913, allocations: 4 kB / 0.9405 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8913, allocations: 0 / 0.9405 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.8913, allocations: 7.984 kB / 0.9405 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.8919, allocations: 131.9 kB / 0.9406 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8919, allocations: 4 kB / 0.9406 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.8928, allocations: 76.44 kB / 0.9407 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.8928, allocations: 20 kB / 0.9407 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009241/0.8937, allocations: 497 kB / 0.9412 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006267/0.8944, allocations: 368.2 kB / 0.9416 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/0.8955, allocations: 0.5813 MB / 0.9421 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.8955, allocations: 2.188 kB / 0.9421 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0015/0.897, allocations: 0.7287 MB / 0.9428 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.897, allocations: 8 kB / 0.9429 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.897, allocations: 0 / 0.9429 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.897, allocations: 4 kB / 0.9429 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.8976, allocations: 123.8 kB / 0.943 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8976, allocations: 4 kB / 0.943 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.8984, allocations: 68.91 kB / 0.943 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.8984, allocations: 20 kB / 0.9431 GB, free: 1.84 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002544/0.8987, allocations: 225.3 kB / 0.9433 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.8988, allocations: 107.3 kB / 0.9434 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.9004, allocations: 0.744 MB / 0.9441 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.9004, allocations: 8 kB / 0.9441 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9005, allocations: 0 / 0.9441 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/0.9018, allocations: 0.8995 MB / 0.945 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.9056, allocations: 2.247 MB / 0.9472 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.9056, allocations: 4 kB / 0.9472 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.9062, allocations: 136.2 kB / 0.9473 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.9062, allocations: 12 kB / 0.9473 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.9063, allocations: 16 kB / 0.9473 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.9063, allocations: 11.92 kB / 0.9474 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9063, allocations: 4 kB / 0.9474 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.9085, allocations: 1.262 MB / 0.9486 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.9089, allocations: 276.2 kB / 0.9489 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.909, allocations: 16 kB / 0.9489 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.9097, allocations: 39.95 kB / 0.9489 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9098, allocations: 56.25 kB / 0.949 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.9099, allocations: 20 kB / 0.949 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008909/0.9107, allocations: 0.5862 MB / 0.9496 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9107, allocations: 0 / 0.9496 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001325/0.9121, allocations: 0.538 MB / 0.9501 GB, free: 10.33 MB / 0.7169 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 (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.0005519/0.9126, allocations: 235.9 kB / 0.9503 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.9145, allocations: 0.8958 MB / 0.9512 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9145, allocations: 0 / 0.9512 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.9152, allocations: 323.5 kB / 0.9515 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.9179, allocations: 0.5976 MB / 0.9521 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.9216, allocations: 2.224 MB / 0.9542 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.9225, allocations: 1.12 MB / 0.9553 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.9228, allocations: 91.42 kB / 0.9554 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of SimCode: time 1.353e-06/0.9228, allocations: 0 / 0.9554 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.02799/0.9508, allocations: 17.3 MB / 0.9723 GB, free: 3.598 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)