Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01042/0.01042, allocations: 169.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 132.3 MB / 148.1 MB, free: 208 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.781/1.781, allocations: 223.2 MB / 403.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 90.22 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005154, allocations: 12 kB / 0.5641 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6378, allocations: 81.56 MB / 0.6437 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.399/6.037, allocations: 1.891 GB / 2.534 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/6.037, allocations: 96.7 kB / 2.534 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.818/9.856, allocations: 0.9297 GB / 3.464 GB, free: 97.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/9.856, allocations: 6.781 kB / 3.464 GB, free: 97.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002553/9.856, allocations: 36.39 kB / 3.464 GB, free: 97.21 MB / 0.698 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.006254/9.862, allocations: 1.756 MB / 3.466 GB, free: 96.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/9.862, allocations: 11.88 kB / 3.466 GB, free: 96.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/9.866, allocations: 409.8 kB / 3.466 GB, free: 96.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/9.869, allocations: 1.092 MB / 3.467 GB, free: 96.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/9.869, allocations: 62.88 kB / 3.467 GB, free: 96.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/9.869, allocations: 86.16 kB / 3.467 GB, free: 96.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/9.872, allocations: 0.8405 MB / 3.468 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/9.872, allocations: 0 / 3.468 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/9.872, allocations: 33.78 kB / 3.468 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/9.872, allocations: 31.39 kB / 3.468 GB, free: 96.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/9.874, allocations: 0.7982 MB / 3.469 GB, free: 96.06 MB / 0.698 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.005414/9.879, allocations: 3.66 MB / 3.473 GB, free: 94.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/9.88, allocations: 1.099 MB / 3.474 GB, free: 93.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/9.881, allocations: 407 kB / 3.474 GB, free: 93.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/9.881, allocations: 39.19 kB / 3.474 GB, free: 93.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/9.881, allocations: 3.906 kB / 3.474 GB, free: 93.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002103/9.883, allocations: 1.005 MB / 3.475 GB, free: 93.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/9.883, allocations: 62.06 kB / 3.475 GB, free: 93.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/9.884, allocations: 0.7274 MB / 3.476 GB, free: 93.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/9.884, allocations: 39.86 kB / 3.476 GB, free: 93.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/9.884, allocations: 485.3 kB / 3.476 GB, free: 93.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/9.885, allocations: 212.4 kB / 3.477 GB, free: 92.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/9.885, allocations: 9.375 kB / 3.477 GB, free: 92.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/9.885, allocations: 333.8 kB / 3.477 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/9.885, allocations: 265.2 kB / 3.477 GB, free: 92.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/9.886, allocations: 412 kB / 3.478 GB, free: 92.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/9.886, allocations: 317.5 kB / 3.478 GB, free: 92.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/9.886, allocations: 0 / 3.478 GB, free: 92.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001243/9.888, allocations: 0.767 MB / 3.479 GB, free: 92.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/9.888, allocations: 451 kB / 3.479 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/9.888, allocations: 1.562 kB / 3.479 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/9.888, allocations: 5.719 kB / 3.479 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/9.888, allocations: 135.3 kB / 3.479 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/9.888, allocations: 6.328 kB / 3.479 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/9.89, allocations: 132.3 kB / 3.479 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/9.89, allocations: 22.8 kB / 3.479 GB, free: 91.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/9.89, allocations: 8.406 kB / 3.479 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/9.891, allocations: 0.6438 MB / 3.48 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/9.891, allocations: 3.406 kB / 3.48 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/9.891, allocations: 7.844 kB / 3.48 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/9.891, allocations: 128.1 kB / 3.48 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/9.891, allocations: 7.688 kB / 3.48 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/9.892, allocations: 129.5 kB / 3.48 GB, free: 91.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/9.892, allocations: 20.75 kB / 3.48 GB, free: 91.86 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007864/9.893, allocations: 386.1 kB / 3.481 GB, free: 91.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/9.893, allocations: 102 kB / 3.481 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/9.895, allocations: 0.8009 MB / 3.482 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/9.895, allocations: 6.188 kB / 3.482 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/9.895, allocations: 3.875 kB / 3.482 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/9.896, allocations: 0.9522 MB / 3.482 GB, free: 91.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/9.9, allocations: 2.271 MB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/9.9, allocations: 5.719 kB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/9.901, allocations: 158.7 kB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/9.901, allocations: 7.375 kB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/9.901, allocations: 14.09 kB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/9.901, allocations: 6.344 kB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/9.901, allocations: 4.531 kB / 3.485 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/9.903, allocations: 1.44 MB / 3.486 GB, free: 89.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/9.903, allocations: 271 kB / 3.487 GB, free: 89.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/9.903, allocations: 17.94 kB / 3.487 GB, free: 89.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/9.904, allocations: 126.2 kB / 3.487 GB, free: 89.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/9.905, allocations: 55.61 kB / 3.487 GB, free: 89.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/9.905, allocations: 21.75 kB / 3.487 GB, free: 89.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008195/9.905, allocations: 0.5742 MB / 3.487 GB, free: 89.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.453e-06/9.905, allocations: 0 / 3.487 GB, free: 89.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002514/9.908, allocations: 0.7641 MB / 3.488 GB, free: 89.65 MB / 0.698 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 (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.004194/9.912, allocations: 2.319 MB / 3.49 GB, free: 88.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002074/9.914, allocations: 0.9835 MB / 3.491 GB, free: 88.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/9.914, allocations: 0 / 3.491 GB, free: 88.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/9.915, allocations: 356.2 kB / 3.492 GB, free: 88.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/9.918, allocations: 0.6796 MB / 3.492 GB, free: 88.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/9.922, allocations: 2.619 MB / 3.495 GB, free: 87.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/9.923, allocations: 1.149 MB / 3.496 GB, free: 86.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001419/9.924, allocations: 296.6 kB / 3.496 GB, free: 86.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/9.924, allocations: 86.38 kB / 3.496 GB, free: 86.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.743e-06/9.924, allocations: 0 / 3.496 GB, free: 86.89 MB / 0.698 GB Notification: Performance of Templates: time 0.06811/9.993, allocations: 46.23 MB / 3.542 GB, free: 84.48 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)