Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001301/0.001301, allocations: 180.8 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008977/0.0008977, allocations: 99.14 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.915e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6733, allocations: 115.3 MB / 0.9644 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.22/4.894, allocations: 2.082 GB / 3.046 GB, free: 78.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/4.894, allocations: 85.08 kB / 3.046 GB, free: 78.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.532/8.426, allocations: 0.9063 GB / 3.952 GB, free: 159.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.845e-06/8.426, allocations: 0 / 3.952 GB, free: 159.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002001/8.426, allocations: 35.48 kB / 3.952 GB, free: 159.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.004994/8.431, allocations: 1.531 MB / 3.954 GB, free: 159.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/8.431, allocations: 7.719 kB / 3.954 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/8.435, allocations: 427.8 kB / 3.954 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/8.438, allocations: 1.049 MB / 3.955 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/8.438, allocations: 26 kB / 3.955 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/8.438, allocations: 53.53 kB / 3.955 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/8.44, allocations: 0.676 MB / 3.956 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/8.441, allocations: 0.6887 MB / 3.957 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/8.441, allocations: 0 / 3.957 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/8.441, allocations: 0 / 3.957 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/8.442, allocations: 29.86 kB / 3.957 GB, free: 158.7 MB / 0.948 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.005497/8.447, allocations: 3.493 MB / 3.96 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/8.448, allocations: 1.039 MB / 3.961 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/8.449, allocations: 337.1 kB / 3.962 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/8.449, allocations: 399.4 kB / 3.962 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/8.449, allocations: 48.81 kB / 3.962 GB, free: 156.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/8.449, allocations: 0 / 3.962 GB, free: 156.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001784/8.451, allocations: 0.7135 MB / 3.963 GB, free: 156.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/8.451, allocations: 55.34 kB / 3.963 GB, free: 156 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/8.452, allocations: 0.5886 MB / 3.963 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.334e-05/8.452, allocations: 28.58 kB / 3.963 GB, free: 155.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/8.453, allocations: 485.5 kB / 3.964 GB, free: 155.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/8.453, allocations: 206.2 kB / 3.964 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/8.453, allocations: 3.938 kB / 3.964 GB, free: 155.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/8.453, allocations: 331.1 kB / 3.964 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/8.453, allocations: 213.7 kB / 3.964 GB, free: 155.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/8.454, allocations: 358.8 kB / 3.965 GB, free: 155.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/8.454, allocations: 349.2 kB / 3.965 GB, free: 155.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.454, allocations: 0 / 3.965 GB, free: 155.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001338/8.456, allocations: 0.7148 MB / 3.966 GB, free: 155 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/8.456, allocations: 452.2 kB / 3.966 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/8.456, allocations: 3.969 kB / 3.966 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/8.456, allocations: 7.797 kB / 3.966 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/8.457, allocations: 142.9 kB / 3.966 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/8.457, allocations: 3.625 kB / 3.966 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/8.458, allocations: 106.8 kB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/8.458, allocations: 28.77 kB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/8.458, allocations: 4.531 kB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/8.459, allocations: 0.5856 MB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/8.459, allocations: 0 / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/8.459, allocations: 3.969 kB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/8.46, allocations: 133.2 kB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/8.46, allocations: 5.875 kB / 3.967 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/8.461, allocations: 108.5 kB / 3.967 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/8.461, allocations: 24.45 kB / 3.967 GB, free: 154.5 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 () * 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.000184/8.461, allocations: 121.1 kB / 3.968 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001181/8.462, allocations: 0.669 MB / 3.968 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/8.462, allocations: 91.62 kB / 3.968 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/8.464, allocations: 0.7405 MB / 3.969 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/8.464, allocations: 7.438 kB / 3.969 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/8.464, allocations: 0 / 3.969 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/8.465, allocations: 0.9097 MB / 3.97 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/8.469, allocations: 2.093 MB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/8.469, allocations: 5.219 kB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/8.469, allocations: 152.6 kB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/8.469, allocations: 9.344 kB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/8.469, allocations: 13 kB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/8.469, allocations: 5.406 kB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/8.469, allocations: 5.469 kB / 3.972 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/8.471, allocations: 1.343 MB / 3.973 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/8.472, allocations: 252 kB / 3.974 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/8.472, allocations: 3.906 kB / 3.974 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/8.473, allocations: 119 kB / 3.974 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/8.473, allocations: 50.06 kB / 3.974 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/8.473, allocations: 33.02 kB / 3.974 GB, free: 152.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006493/8.474, allocations: 475.8 kB / 3.974 GB, free: 152.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/8.474, allocations: 0 / 3.974 GB, free: 152.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002172/8.476, allocations: 0.6803 MB / 3.975 GB, free: 152.4 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 () * 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.005696/8.482, allocations: 5.248 MB / 3.98 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001445/8.483, allocations: 0.8631 MB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/8.483, allocations: 0 / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/8.484, allocations: 303.6 kB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/8.487, allocations: 0.6084 MB / 3.982 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/8.492, allocations: 1.916 MB / 3.984 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/8.493, allocations: 1.155 MB / 3.985 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001783/8.495, allocations: 350.7 kB / 3.985 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/8.495, allocations: 386.1 kB / 3.986 GB, free: 148.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/8.495, allocations: 0 / 3.986 GB, free: 148.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07677/8.572, allocations: 45.02 MB / 4.029 GB, free: 146.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/8.572, allocations: 186.8 kB / 4.03 GB, free: 146.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.719/12.29, allocations: 0 / 4.03 GB, free: 146.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)