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.382/1.382, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 184.7 kB / 316.3 MB, free: 3.23 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.384/1.384, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0007818/0.0007817, allocations: 89.78 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.211e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1675, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.77/4.938, allocations: 2.201 GB / 3.086 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/4.938, allocations: 89.45 kB / 3.086 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.295/8.233, allocations: 0.879 GB / 3.965 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/8.233, allocations: 0 / 3.965 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001383/8.233, allocations: 39.25 kB / 3.965 GB, free: 140.5 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.003828/8.237, allocations: 1.533 MB / 3.967 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/8.237, allocations: 10.06 kB / 3.967 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/8.24, allocations: 413.8 kB / 3.967 GB, free: 140 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/8.242, allocations: 1.07 MB / 3.968 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/8.242, allocations: 25.44 kB / 3.968 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/8.243, allocations: 50.66 kB / 3.968 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/8.244, allocations: 0.6785 MB / 3.969 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/8.245, allocations: 0.6962 MB / 3.97 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/8.245, allocations: 3.906 kB / 3.97 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/8.245, allocations: 1.375 kB / 3.97 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/8.246, allocations: 30.75 kB / 3.97 GB, free: 139.6 MB / 0.8855 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.005192/8.251, allocations: 3.506 MB / 3.973 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/8.252, allocations: 1.045 MB / 3.974 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/8.253, allocations: 331.6 kB / 3.974 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/8.253, allocations: 401.3 kB / 3.975 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/8.253, allocations: 40.69 kB / 3.975 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 5.52e-06/8.253, allocations: 4.562 kB / 3.975 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001885/8.255, allocations: 0.7157 MB / 3.975 GB, free: 137 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/8.255, allocations: 58.67 kB / 3.976 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/8.256, allocations: 0.5982 MB / 3.976 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/8.256, allocations: 27.8 kB / 3.976 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/8.257, allocations: 495 kB / 3.977 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/8.257, allocations: 207 kB / 3.977 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/8.257, allocations: 0 / 3.977 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/8.257, allocations: 329.3 kB / 3.977 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/8.257, allocations: 213.4 kB / 3.977 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/8.258, allocations: 353.2 kB / 3.978 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/8.258, allocations: 340.6 kB / 3.978 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/8.258, allocations: 0.9688 kB / 3.978 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001433/8.26, allocations: 0.7111 MB / 3.979 GB, free: 136 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/8.26, allocations: 461.7 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/8.26, allocations: 0.7812 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/8.26, allocations: 4.938 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/8.261, allocations: 137.4 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/8.261, allocations: 5 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/8.262, allocations: 112.1 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/8.262, allocations: 29.23 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/8.262, allocations: 6.875 kB / 3.979 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/8.263, allocations: 0.5788 MB / 3.98 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/8.263, allocations: 1.469 kB / 3.98 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/8.263, allocations: 3.562 kB / 3.98 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/8.264, allocations: 134.8 kB / 3.98 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/8.264, allocations: 2.969 kB / 3.98 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/8.264, allocations: 113.1 kB / 3.98 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/8.265, allocations: 26.05 kB / 3.98 GB, free: 135.5 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 () * 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.0001534/8.265, allocations: 114.7 kB / 3.98 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001172/8.266, allocations: 0.6582 MB / 3.981 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/8.266, allocations: 96.94 kB / 3.981 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/8.268, allocations: 0.7366 MB / 3.982 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/8.268, allocations: 6.438 kB / 3.982 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/8.268, allocations: 0 / 3.982 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/8.269, allocations: 0.91 MB / 3.983 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/8.272, allocations: 2.099 MB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/8.272, allocations: 8.531 kB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/8.273, allocations: 151.2 kB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/8.273, allocations: 11.56 kB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/8.273, allocations: 8.156 kB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/8.273, allocations: 8.75 kB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/8.273, allocations: 10.09 kB / 3.985 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/8.275, allocations: 1.325 MB / 3.986 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/8.275, allocations: 258.2 kB / 3.986 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/8.275, allocations: 6.406 kB / 3.986 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/8.276, allocations: 120.5 kB / 3.987 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/8.276, allocations: 52.83 kB / 3.987 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/8.276, allocations: 25.83 kB / 3.987 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007/8.277, allocations: 475.1 kB / 3.987 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.01e-07/8.277, allocations: 0 / 3.987 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0026/8.28, allocations: 0.6816 MB / 3.988 GB, free: 133.3 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 () * 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.006156/8.286, allocations: 5.263 MB / 3.993 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001686/8.288, allocations: 0.8537 MB / 3.994 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/8.288, allocations: 0.5 kB / 3.994 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/8.288, allocations: 301 kB / 3.994 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/8.292, allocations: 0.6105 MB / 3.995 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/8.296, allocations: 1.93 MB / 3.997 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/8.297, allocations: 1.154 MB / 3.998 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00143/8.298, allocations: 347.5 kB / 3.998 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/8.299, allocations: 400.2 kB / 3.998 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.193e-06/8.299, allocations: 0 / 3.998 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08118/8.38, allocations: 45.14 MB / 4.042 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/8.38, allocations: 188 kB / 4.043 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/12.01, allocations: 2.516 kB / 4.043 GB, free: 128.4 MB / 0.8855 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)