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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_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.009976/0.009976, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8438/0.8438, allocations: 135.2 MB / 151 MB, free: 13.8 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.632/1.632, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001254/0.001254, allocations: 102.5 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004693, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.607/0.6075, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.603/6.211, allocations: 1.891 GB / 2.54 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/6.211, allocations: 96.77 kB / 2.54 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.357/9.568, allocations: 0.9297 GB / 3.47 GB, free: 96.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/9.568, allocations: 0 / 3.47 GB, free: 96.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001246/9.568, allocations: 39.08 kB / 3.47 GB, free: 96.94 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.004392/9.573, allocations: 1.759 MB / 3.472 GB, free: 96.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/9.573, allocations: 14.7 kB / 3.472 GB, free: 96.18 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/9.573, allocations: 125.3 kB / 3.472 GB, free: 96.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/9.576, allocations: 413.4 kB / 3.472 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/9.578, allocations: 1.091 MB / 3.473 GB, free: 95.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/9.578, allocations: 61.53 kB / 3.473 GB, free: 95.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/9.578, allocations: 83.88 kB / 3.474 GB, free: 95.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/9.58, allocations: 0.8444 MB / 3.474 GB, free: 95.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/9.58, allocations: 0 / 3.474 GB, free: 95.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/9.58, allocations: 32.52 kB / 3.474 GB, free: 95.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/9.58, allocations: 29.08 kB / 3.474 GB, free: 95.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/9.581, allocations: 0.7958 MB / 3.475 GB, free: 95.72 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.004516/9.586, allocations: 3.658 MB / 3.479 GB, free: 94.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/9.587, allocations: 1.107 MB / 3.48 GB, free: 93.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/9.588, allocations: 400.4 kB / 3.48 GB, free: 93.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/9.588, allocations: 46.88 kB / 3.48 GB, free: 93.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.975e-06/9.588, allocations: 0 / 3.48 GB, free: 93.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001982/9.59, allocations: 1.009 MB / 3.481 GB, free: 93.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/9.59, allocations: 58.22 kB / 3.481 GB, free: 92.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/9.591, allocations: 0.7275 MB / 3.482 GB, free: 92.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/9.591, allocations: 41.98 kB / 3.482 GB, free: 92.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/9.591, allocations: 477.2 kB / 3.483 GB, free: 92.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/9.591, allocations: 217.5 kB / 3.483 GB, free: 92.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/9.591, allocations: 10.81 kB / 3.483 GB, free: 92.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/9.591, allocations: 327.7 kB / 3.483 GB, free: 92.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/9.592, allocations: 265.8 kB / 3.483 GB, free: 92.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/9.592, allocations: 416.9 kB / 3.484 GB, free: 92.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/9.593, allocations: 322.1 kB / 3.484 GB, free: 92.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/9.593, allocations: 0 / 3.484 GB, free: 92.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001394/9.594, allocations: 0.7702 MB / 3.485 GB, free: 92.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/9.594, allocations: 450 kB / 3.485 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/9.594, allocations: 0 / 3.485 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/9.594, allocations: 9.859 kB / 3.485 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/9.595, allocations: 141.2 kB / 3.485 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/9.595, allocations: 6.984 kB / 3.485 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/9.596, allocations: 128.8 kB / 3.486 GB, free: 91.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/9.596, allocations: 25.8 kB / 3.486 GB, free: 91.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/9.596, allocations: 6 kB / 3.486 GB, free: 91.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/9.597, allocations: 0.6403 MB / 3.486 GB, free: 91.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/9.597, allocations: 3.375 kB / 3.486 GB, free: 91.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/9.597, allocations: 5.438 kB / 3.486 GB, free: 91.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/9.598, allocations: 133.2 kB / 3.486 GB, free: 91.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/9.598, allocations: 3 kB / 3.486 GB, free: 91.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/9.599, allocations: 125.2 kB / 3.486 GB, free: 91.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/9.599, allocations: 23.44 kB / 3.486 GB, free: 91.52 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.000596/9.6, allocations: 389.5 kB / 3.487 GB, free: 91.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/9.6, allocations: 100.1 kB / 3.487 GB, free: 91.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/9.601, allocations: 0.8007 MB / 3.488 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/9.601, allocations: 7.406 kB / 3.488 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/9.601, allocations: 1.125 kB / 3.488 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/9.602, allocations: 0.9534 MB / 3.489 GB, free: 90.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/9.606, allocations: 2.27 MB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/9.606, allocations: 3.406 kB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/9.606, allocations: 154 kB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/9.606, allocations: 10.8 kB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/9.607, allocations: 17.94 kB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/9.607, allocations: 10.06 kB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/9.607, allocations: 3.719 kB / 3.491 GB, free: 90.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/9.608, allocations: 1.433 MB / 3.492 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/9.609, allocations: 270.8 kB / 3.493 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/9.609, allocations: 14.84 kB / 3.493 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/9.61, allocations: 129.2 kB / 3.493 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/9.61, allocations: 53.44 kB / 3.493 GB, free: 89.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/9.61, allocations: 20.67 kB / 3.493 GB, free: 89.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006924/9.611, allocations: 0.5778 MB / 3.493 GB, free: 89.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.611, allocations: 0 / 3.493 GB, free: 89.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002022/9.613, allocations: 0.763 MB / 3.494 GB, free: 89.29 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.006685/9.619, allocations: 5.095 MB / 3.499 GB, free: 86.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002083/9.622, allocations: 0.9824 MB / 3.5 GB, free: 86.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/9.622, allocations: 0 / 3.5 GB, free: 86.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/9.622, allocations: 358.9 kB / 3.5 GB, free: 86.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/9.626, allocations: 0.6673 MB / 3.501 GB, free: 86.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/9.635, allocations: 6.889 MB / 3.508 GB, free: 83.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/9.636, allocations: 1.15 MB / 3.509 GB, free: 83.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001278/9.637, allocations: 285.7 kB / 3.509 GB, free: 83.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/9.638, allocations: 415 kB / 3.51 GB, free: 83.16 MB / 0.698 GB Notification: Performance of SimCode: time 8.425e-06/9.638, allocations: 0 / 3.51 GB, free: 83.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/9.74, allocations: 63.5 MB / 3.572 GB, free: 67.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/9.74, allocations: 212.1 kB / 3.572 GB, free: 67.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.332/15.07, allocations: 0 / 3.572 GB, free: 67.46 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)