Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.737/1.737, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 175.6 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.5775 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009336/0.0009338, allocations: 91.61 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 12.89 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.407/6.657, allocations: 2.2 GB / 3.101 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/6.657, allocations: 95.84 kB / 3.101 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.099/9.756, allocations: 0.8901 GB / 3.991 GB, free: 92.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.994e-06/9.756, allocations: 0 / 3.991 GB, free: 92.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002053/9.756, allocations: 32 kB / 3.991 GB, free: 92.05 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.005676/9.762, allocations: 1.761 MB / 3.993 GB, free: 90.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/9.762, allocations: 8.031 kB / 3.993 GB, free: 90.25 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000513/9.763, allocations: 126.9 kB / 3.993 GB, free: 90.11 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/9.766, allocations: 421.9 kB / 3.993 GB, free: 89.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/9.769, allocations: 1.078 MB / 3.994 GB, free: 88.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/9.769, allocations: 69.94 kB / 3.994 GB, free: 88.51 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003372/9.77, allocations: 84 kB / 3.994 GB, free: 88.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/9.772, allocations: 0.8468 MB / 3.995 GB, free: 87.58 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/9.772, allocations: 0 / 3.995 GB, free: 87.58 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/9.772, allocations: 32 kB / 3.995 GB, free: 87.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/9.772, allocations: 29.98 kB / 3.995 GB, free: 87.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/9.774, allocations: 0.8003 MB / 3.996 GB, free: 86.71 MB / 0.8855 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.005971/9.78, allocations: 3.677 MB / 4 GB, free: 82.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/9.781, allocations: 1.101 MB / 4.001 GB, free: 81.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/9.782, allocations: 404.9 kB / 4.001 GB, free: 81.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/9.782, allocations: 39.12 kB / 4.001 GB, free: 81.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.187e-06/9.782, allocations: 0 / 4.001 GB, free: 81.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002288/9.784, allocations: 1.005 MB / 4.002 GB, free: 80 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/9.784, allocations: 59.97 kB / 4.002 GB, free: 79.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/9.785, allocations: 0.7257 MB / 4.003 GB, free: 79.19 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/9.786, allocations: 41.7 kB / 4.003 GB, free: 79.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/9.786, allocations: 480.1 kB / 4.003 GB, free: 78.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/9.786, allocations: 216.8 kB / 4.004 GB, free: 78.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/9.786, allocations: 8 kB / 4.004 GB, free: 78.44 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/9.786, allocations: 337.5 kB / 4.004 GB, free: 78.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/9.787, allocations: 261 kB / 4.004 GB, free: 77.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/9.787, allocations: 405.8 kB / 4.004 GB, free: 77.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/9.788, allocations: 318 kB / 4.005 GB, free: 77.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/9.788, allocations: 0 / 4.005 GB, free: 77.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001346/9.789, allocations: 0.7633 MB / 4.006 GB, free: 76.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/9.789, allocations: 455.2 kB / 4.006 GB, free: 75.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/9.789, allocations: 4 kB / 4.006 GB, free: 75.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/9.789, allocations: 0 / 4.006 GB, free: 75.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/9.79, allocations: 139.8 kB / 4.006 GB, free: 75.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/9.79, allocations: 4 kB / 4.006 GB, free: 75.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/9.791, allocations: 131.3 kB / 4.006 GB, free: 75.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/9.791, allocations: 23.98 kB / 4.006 GB, free: 75.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/9.791, allocations: 6.812 kB / 4.006 GB, free: 75.55 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009825/9.792, allocations: 0.6456 MB / 4.007 GB, free: 74.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/9.792, allocations: 0 / 4.007 GB, free: 74.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/9.792, allocations: 4 kB / 4.007 GB, free: 74.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/9.793, allocations: 135.8 kB / 4.007 GB, free: 74.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/9.793, allocations: 4 kB / 4.007 GB, free: 74.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/9.794, allocations: 135 kB / 4.007 GB, free: 74.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/9.794, allocations: 23.98 kB / 4.007 GB, free: 74.61 MB / 0.8855 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.0006898/9.795, allocations: 383.2 kB / 4.008 GB, free: 74.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/9.795, allocations: 114.6 kB / 4.008 GB, free: 74.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/9.796, allocations: 0.786 MB / 4.008 GB, free: 73.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/9.796, allocations: 8 kB / 4.008 GB, free: 73.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/9.796, allocations: 0 / 4.008 GB, free: 73.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009992/9.797, allocations: 0.9541 MB / 4.009 GB, free: 72.28 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/9.8, allocations: 2.261 MB / 4.012 GB, free: 69.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/9.8, allocations: 0 / 4.012 GB, free: 69.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/9.801, allocations: 156.2 kB / 4.012 GB, free: 69.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/9.801, allocations: 12 kB / 4.012 GB, free: 69.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/9.801, allocations: 19.98 kB / 4.012 GB, free: 69.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/9.801, allocations: 4 kB / 4.012 GB, free: 69.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/9.801, allocations: 7.938 kB / 4.012 GB, free: 69.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/9.803, allocations: 1.432 MB / 4.013 GB, free: 68.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/9.804, allocations: 259.7 kB / 4.013 GB, free: 67.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/9.804, allocations: 16 kB / 4.013 GB, free: 67.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/9.805, allocations: 131.7 kB / 4.014 GB, free: 67.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/9.805, allocations: 56.27 kB / 4.014 GB, free: 67.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/9.805, allocations: 24.12 kB / 4.014 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007425/9.806, allocations: 0.5823 MB / 4.014 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/9.806, allocations: 0 / 4.014 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002584/9.808, allocations: 0.776 MB / 4.015 GB, free: 66.25 MB / 0.8855 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.005438/9.814, allocations: 5.085 MB / 4.02 GB, free: 60.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001656/9.815, allocations: 0.9703 MB / 4.021 GB, free: 59.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/9.815, allocations: 0 / 4.021 GB, free: 59.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/9.816, allocations: 358.8 kB / 4.021 GB, free: 59.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/9.819, allocations: 0.6801 MB / 4.022 GB, free: 58.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/9.828, allocations: 6.85 MB / 4.029 GB, free: 51.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/9.829, allocations: 1.155 MB / 4.03 GB, free: 50.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001393/9.83, allocations: 292.1 kB / 4.03 GB, free: 50.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/9.831, allocations: 407.3 kB / 4.03 GB, free: 49.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/9.831, allocations: 0 / 4.03 GB, free: 49.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0979/9.929, allocations: 63.54 MB / 4.092 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/9.929, allocations: 230.6 kB / 4.093 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/14.06, allocations: 0 / 4.093 GB, free: 2.441 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)