Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.994/1.994, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 181 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.6366 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 91.84 kB / 0.7509 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.000476, allocations: 8 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3681, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.986/6.354, allocations: 2.083 GB / 3.072 GB, free: 98.65 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/6.354, allocations: 92.48 kB / 3.072 GB, free: 98.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.926/10.28, allocations: 0.9174 GB / 3.989 GB, free: 123.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/10.28, allocations: 4.219 kB / 3.989 GB, free: 123.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000275/10.28, allocations: 37.62 kB / 3.989 GB, free: 123.7 MB / 0.948 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.007198/10.29, allocations: 1.749 MB / 3.991 GB, free: 122.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/10.29, allocations: 12.22 kB / 3.991 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000678/10.29, allocations: 129.8 kB / 3.991 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/10.29, allocations: 425.6 kB / 3.991 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/10.3, allocations: 1.065 MB / 3.992 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/10.3, allocations: 65.06 kB / 3.992 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/10.3, allocations: 83.19 kB / 3.993 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/10.3, allocations: 0.84 MB / 3.993 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/10.3, allocations: 3.75 kB / 3.993 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/10.3, allocations: 36.72 kB / 3.993 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/10.3, allocations: 26.84 kB / 3.993 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/10.3, allocations: 0.7916 MB / 3.994 GB, free: 122.5 MB / 0.948 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.007986/10.31, allocations: 3.662 MB / 3.998 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/10.31, allocations: 1.103 MB / 3.999 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/10.31, allocations: 403.4 kB / 3.999 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/10.31, allocations: 42.38 kB / 3.999 GB, free: 119.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/10.31, allocations: 0 / 3.999 GB, free: 119.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002895/10.31, allocations: 1.009 MB / 4 GB, free: 119.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/10.31, allocations: 64.97 kB / 4 GB, free: 119.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/10.32, allocations: 0.7177 MB / 4.001 GB, free: 119.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/10.32, allocations: 40.11 kB / 4.001 GB, free: 119.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/10.32, allocations: 477.5 kB / 4.001 GB, free: 119.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/10.32, allocations: 208.5 kB / 4.002 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/10.32, allocations: 10.78 kB / 4.002 GB, free: 119.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001414/10.32, allocations: 329.8 kB / 4.002 GB, free: 119 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/10.32, allocations: 264.4 kB / 4.002 GB, free: 119 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/10.32, allocations: 417.3 kB / 4.003 GB, free: 118.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/10.32, allocations: 312.7 kB / 4.003 GB, free: 118.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/10.32, allocations: 2.25 kB / 4.003 GB, free: 118.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001711/10.32, allocations: 0.7657 MB / 4.004 GB, free: 118.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/10.32, allocations: 456.8 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/10.32, allocations: 1.875 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/10.32, allocations: 3.25 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/10.32, allocations: 133.9 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/10.32, allocations: 7.422 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/10.32, allocations: 133.8 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/10.32, allocations: 24.05 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/10.32, allocations: 6.625 kB / 4.004 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/10.32, allocations: 0.6437 MB / 4.005 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/10.32, allocations: 1.094 kB / 4.005 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/10.32, allocations: 6.984 kB / 4.005 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/10.33, allocations: 133 kB / 4.005 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/10.33, allocations: 6.281 kB / 4.005 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/10.33, allocations: 129 kB / 4.005 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/10.33, allocations: 32.16 kB / 4.005 GB, free: 118.3 MB / 0.948 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.0009213/10.33, allocations: 383.3 kB / 4.006 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/10.33, allocations: 103 kB / 4.006 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/10.33, allocations: 0.7988 MB / 4.007 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/10.33, allocations: 5.906 kB / 4.007 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/10.33, allocations: 1 kB / 4.007 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/10.33, allocations: 0.956 MB / 4.008 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/10.34, allocations: 2.261 MB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/10.34, allocations: 3.25 kB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/10.34, allocations: 156.7 kB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/10.34, allocations: 6.188 kB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/10.34, allocations: 23.25 kB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/10.34, allocations: 5.469 kB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/10.34, allocations: 3 kB / 4.01 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/10.34, allocations: 1.439 MB / 4.011 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/10.34, allocations: 256.6 kB / 4.012 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/10.34, allocations: 19.56 kB / 4.012 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/10.34, allocations: 129.8 kB / 4.012 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/10.34, allocations: 56.5 kB / 4.012 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/10.34, allocations: 24.89 kB / 4.012 GB, free: 116.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009879/10.34, allocations: 0.5743 MB / 4.012 GB, free: 116.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.34, allocations: 0 / 4.012 GB, free: 116.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002866/10.34, allocations: 0.7646 MB / 4.013 GB, free: 116.1 MB / 0.948 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.007952/10.35, allocations: 5.088 MB / 4.018 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002217/10.35, allocations: 0.9812 MB / 4.019 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/10.35, allocations: 0 / 4.019 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/10.35, allocations: 356.2 kB / 4.019 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/10.36, allocations: 0.6777 MB / 4.02 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/10.37, allocations: 6.849 MB / 4.027 GB, free: 110.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/10.37, allocations: 1.147 MB / 4.028 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001435/10.37, allocations: 292.4 kB / 4.028 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/10.37, allocations: 406.5 kB / 4.029 GB, free: 109.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/10.37, allocations: 2.594 kB / 4.029 GB, free: 109.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/10.49, allocations: 63.4 MB / 4.09 GB, free: 107.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/10.49, allocations: 216.1 kB / 4.091 GB, free: 106.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.342/14.83, allocations: 0 / 4.091 GB, free: 106.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)