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-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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0119/0.0119, allocations: 171.9 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-master/package.mo): time 0.7936/0.7936, allocations: 135.2 MB / 151 MB, free: 13.79 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.865/1.865, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.001431/0.001431, allocations: 100.5 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004645, allocations: 16 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6516, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.554/6.206, allocations: 1.891 GB / 2.54 GB, free: 46.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/6.206, allocations: 93.77 kB / 2.54 GB, free: 46.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.528/9.735, allocations: 0.9297 GB / 3.47 GB, free: 99.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/9.735, allocations: 0 / 3.47 GB, free: 99.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001194/9.735, allocations: 38.03 kB / 3.47 GB, free: 99.42 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.004221/9.739, allocations: 1.762 MB / 3.472 GB, free: 98.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/9.739, allocations: 6.812 kB / 3.472 GB, free: 98.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/9.739, allocations: 126.4 kB / 3.472 GB, free: 98.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/9.742, allocations: 414.3 kB / 3.472 GB, free: 98.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/9.744, allocations: 1.093 MB / 3.473 GB, free: 98.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/9.744, allocations: 70.45 kB / 3.474 GB, free: 98.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/9.744, allocations: 83.72 kB / 3.474 GB, free: 98.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/9.746, allocations: 0.8428 MB / 3.474 GB, free: 98.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/9.746, allocations: 0 / 3.474 GB, free: 98.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/9.746, allocations: 32.95 kB / 3.474 GB, free: 98.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/9.746, allocations: 29.56 kB / 3.474 GB, free: 98.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/9.747, allocations: 0.7904 MB / 3.475 GB, free: 98.15 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.004455/9.752, allocations: 3.659 MB / 3.479 GB, free: 96.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/9.753, allocations: 1.105 MB / 3.48 GB, free: 95.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/9.754, allocations: 405.8 kB / 3.48 GB, free: 95.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/9.754, allocations: 42.91 kB / 3.48 GB, free: 95.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/9.754, allocations: 0.6562 kB / 3.48 GB, free: 95.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002026/9.756, allocations: 1.012 MB / 3.481 GB, free: 95.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/9.756, allocations: 55.88 kB / 3.481 GB, free: 95.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/9.757, allocations: 0.7261 MB / 3.482 GB, free: 95.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/9.757, allocations: 40.08 kB / 3.482 GB, free: 95.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/9.757, allocations: 486.7 kB / 3.483 GB, free: 95.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/9.757, allocations: 214 kB / 3.483 GB, free: 94.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/9.757, allocations: 13.59 kB / 3.483 GB, free: 94.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/9.757, allocations: 327.4 kB / 3.483 GB, free: 94.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/9.758, allocations: 263.3 kB / 3.483 GB, free: 94.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/9.758, allocations: 414.3 kB / 3.484 GB, free: 94.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/9.759, allocations: 315.1 kB / 3.484 GB, free: 94.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/9.759, allocations: 0 / 3.484 GB, free: 94.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001209/9.76, allocations: 0.7714 MB / 3.485 GB, free: 94.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/9.76, allocations: 449 kB / 3.485 GB, free: 93.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/9.76, allocations: 9.938 kB / 3.485 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/9.76, allocations: 3.906 kB / 3.485 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/9.761, allocations: 137.5 kB / 3.485 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/9.761, allocations: 7.734 kB / 3.485 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/9.762, allocations: 126.3 kB / 3.486 GB, free: 93.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/9.762, allocations: 27.97 kB / 3.486 GB, free: 93.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/9.762, allocations: 3.25 kB / 3.486 GB, free: 93.91 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/9.763, allocations: 0.6425 MB / 3.486 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/9.763, allocations: 3.875 kB / 3.486 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/9.763, allocations: 2.562 kB / 3.486 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/9.764, allocations: 135.5 kB / 3.486 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/9.764, allocations: 3.031 kB / 3.486 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/9.765, allocations: 124.6 kB / 3.486 GB, free: 93.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/9.765, allocations: 32.05 kB / 3.486 GB, free: 93.87 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.0006409/9.765, allocations: 381.5 kB / 3.487 GB, free: 93.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/9.766, allocations: 99.94 kB / 3.487 GB, free: 93.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/9.767, allocations: 0.8049 MB / 3.488 GB, free: 93.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/9.767, allocations: 7.594 kB / 3.488 GB, free: 93.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/9.767, allocations: 3.438 kB / 3.488 GB, free: 93.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/9.768, allocations: 0.9521 MB / 3.489 GB, free: 93.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/9.771, allocations: 2.261 MB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/9.771, allocations: 10.56 kB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/9.772, allocations: 148.6 kB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/9.772, allocations: 11.7 kB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/9.772, allocations: 19.41 kB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/9.772, allocations: 7.781 kB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/9.772, allocations: 6 kB / 3.491 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/9.774, allocations: 1.44 MB / 3.492 GB, free: 91.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/9.775, allocations: 259 kB / 3.493 GB, free: 91.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/9.775, allocations: 17.22 kB / 3.493 GB, free: 91.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/9.776, allocations: 130.4 kB / 3.493 GB, free: 91.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/9.776, allocations: 52.75 kB / 3.493 GB, free: 91.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/9.776, allocations: 23.2 kB / 3.493 GB, free: 91.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007836/9.777, allocations: 0.5778 MB / 3.493 GB, free: 91.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/9.777, allocations: 0 / 3.493 GB, free: 91.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002667/9.779, allocations: 0.7672 MB / 3.494 GB, free: 91.6 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.00643/9.786, allocations: 5.089 MB / 3.499 GB, free: 88.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002386/9.788, allocations: 0.9847 MB / 3.5 GB, free: 88.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/9.788, allocations: 0 / 3.5 GB, free: 88.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/9.789, allocations: 354.5 kB / 3.5 GB, free: 88.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/9.793, allocations: 0.6702 MB / 3.501 GB, free: 88.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00985/9.803, allocations: 6.891 MB / 3.508 GB, free: 86.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/9.803, allocations: 1.152 MB / 3.509 GB, free: 85.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001284/9.805, allocations: 293.9 kB / 3.509 GB, free: 85.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/9.805, allocations: 409.3 kB / 3.51 GB, free: 85.47 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/9.805, allocations: 3.312 kB / 3.51 GB, free: 85.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0963/9.902, allocations: 63.49 MB / 3.572 GB, free: 46.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/9.902, allocations: 207.6 kB / 3.572 GB, free: 46.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.543/14.44, allocations: 0 / 3.572 GB, free: 46.73 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)