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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7284/0.7284, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 89.78 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.141e-05/5.144e-05, allocations: 3.844 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 82.3 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.736/4.905, allocations: 1.891 GB / 2.531 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/4.906, allocations: 87.45 kB / 2.531 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.901/8.807, allocations: 0.9289 GB / 3.46 GB, free: 102.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/8.807, allocations: 0 / 3.46 GB, free: 102.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002154/8.807, allocations: 38.58 kB / 3.46 GB, free: 102.4 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.006335/8.814, allocations: 1.521 MB / 3.462 GB, free: 101.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/8.814, allocations: 11.59 kB / 3.462 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/8.818, allocations: 420.7 kB / 3.462 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/8.822, allocations: 1.074 MB / 3.463 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/8.822, allocations: 63.09 kB / 3.463 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/8.822, allocations: 87.25 kB / 3.463 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/8.824, allocations: 0.8002 MB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/8.824, allocations: 2.594 kB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/8.825, allocations: 30.81 kB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/8.825, allocations: 26.59 kB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/8.826, allocations: 0.712 MB / 3.465 GB, free: 101.2 MB / 0.698 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.006545/8.833, allocations: 3.669 MB / 3.468 GB, free: 99.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/8.834, allocations: 1.055 MB / 3.469 GB, free: 99.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/8.835, allocations: 350.2 kB / 3.47 GB, free: 99.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/8.836, allocations: 399.4 kB / 3.47 GB, free: 98.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/8.836, allocations: 42.94 kB / 3.47 GB, free: 98.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.908e-06/8.836, allocations: 0 / 3.47 GB, free: 98.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001757/8.837, allocations: 0.6707 MB / 3.471 GB, free: 98.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/8.838, allocations: 59.69 kB / 3.471 GB, free: 98.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/8.839, allocations: 0.709 MB / 3.472 GB, free: 98.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/8.839, allocations: 45.73 kB / 3.472 GB, free: 98.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/8.839, allocations: 482.7 kB / 3.472 GB, free: 98.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/8.839, allocations: 215.4 kB / 3.472 GB, free: 97.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/8.84, allocations: 9.062 kB / 3.472 GB, free: 97.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/8.84, allocations: 331.3 kB / 3.473 GB, free: 97.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/8.84, allocations: 228.7 kB / 3.473 GB, free: 97.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/8.84, allocations: 376 kB / 3.473 GB, free: 97.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/8.841, allocations: 283.2 kB / 3.473 GB, free: 97.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/8.841, allocations: 7.125 kB / 3.473 GB, free: 97.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00109/8.842, allocations: 0.6783 MB / 3.474 GB, free: 97.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/8.842, allocations: 454.4 kB / 3.475 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/8.842, allocations: 0 / 3.475 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/8.842, allocations: 3.938 kB / 3.475 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/8.843, allocations: 138.9 kB / 3.475 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/8.843, allocations: 3.719 kB / 3.475 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/8.844, allocations: 133.9 kB / 3.475 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/8.844, allocations: 25.66 kB / 3.475 GB, free: 96.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/8.844, allocations: 4.344 kB / 3.475 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008174/8.845, allocations: 0.5705 MB / 3.475 GB, free: 96.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/8.845, allocations: 7.781 kB / 3.475 GB, free: 96.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/8.845, allocations: 7.891 kB / 3.475 GB, free: 96.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/8.845, allocations: 132.9 kB / 3.476 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/8.845, allocations: 11.28 kB / 3.476 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/8.846, allocations: 136.4 kB / 3.476 GB, free: 96.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/8.846, allocations: 21.19 kB / 3.476 GB, free: 96.81 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 () * 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.0001569/8.846, allocations: 137.7 kB / 3.476 GB, free: 96.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/8.847, allocations: 102.5 kB / 3.476 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/8.848, allocations: 0.72 MB / 3.477 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/8.848, allocations: 7.672 kB / 3.477 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/8.848, allocations: 3.875 kB / 3.477 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008192/8.849, allocations: 0.8779 MB / 3.477 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/8.852, allocations: 2.184 MB / 3.48 GB, free: 95.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/8.852, allocations: 3.5 kB / 3.48 GB, free: 95.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/8.852, allocations: 159.9 kB / 3.48 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/8.852, allocations: 6.594 kB / 3.48 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/8.852, allocations: 20.97 kB / 3.48 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/8.852, allocations: 11.88 kB / 3.48 GB, free: 95.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/8.852, allocations: 7.672 kB / 3.48 GB, free: 95.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/8.854, allocations: 1.322 MB / 3.481 GB, free: 94.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/8.854, allocations: 260.3 kB / 3.481 GB, free: 94.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/8.855, allocations: 22.98 kB / 3.481 GB, free: 94.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/8.855, allocations: 131.6 kB / 3.482 GB, free: 94.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/8.856, allocations: 47.56 kB / 3.482 GB, free: 94.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/8.856, allocations: 26.59 kB / 3.482 GB, free: 94.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006731/8.856, allocations: 0.5634 MB / 3.482 GB, free: 94.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/8.856, allocations: 0 / 3.482 GB, free: 94.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002314/8.859, allocations: 0.7704 MB / 3.483 GB, free: 94.57 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 () * 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.003603/8.862, allocations: 2.316 MB / 3.485 GB, free: 93.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001553/8.864, allocations: 0.9083 MB / 3.486 GB, free: 93.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/8.864, allocations: 0 / 3.486 GB, free: 93.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/8.864, allocations: 313 kB / 3.486 GB, free: 93.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/8.868, allocations: 0.6692 MB / 3.487 GB, free: 93.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/8.87, allocations: 1.74 MB / 3.489 GB, free: 92.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/8.871, allocations: 1.148 MB / 3.49 GB, free: 91.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001469/8.873, allocations: 383.7 kB / 3.49 GB, free: 91.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/8.873, allocations: 69.8 kB / 3.49 GB, free: 91.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/8.873, allocations: 3.781 kB / 3.49 GB, free: 91.8 MB / 0.698 GB Notification: Performance of Templates: time 0.07587/8.949, allocations: 53.93 MB / 3.543 GB, free: 46.19 MB / 0.698 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)