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.615/1.615, allocations: 285.4 MB / 298 MB, free: 5.953 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.001149/0.00115, allocations: 176.8 kB / 366.4 MB, free: 2.066 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.735/1.735, allocations: 205.1 MB / 0.6248 GB, free: 7.691 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.0009222/0.0009221, allocations: 96.17 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.432e-05/5.452e-05, allocations: 8 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7433, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.685/5.428, allocations: 2.082 GB / 3.053 GB, free: 11.65 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/5.429, allocations: 85.95 kB / 3.053 GB, free: 11.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.373/8.802, allocations: 0.9165 GB / 3.97 GB, free: 163.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.644e-06/8.802, allocations: 0 / 3.97 GB, free: 163.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001153/8.802, allocations: 44.73 kB / 3.97 GB, free: 163.4 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.003685/8.805, allocations: 1.533 MB / 3.971 GB, free: 162.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/8.806, allocations: 7.188 kB / 3.971 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/8.806, allocations: 128.1 kB / 3.971 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/8.808, allocations: 414.5 kB / 3.972 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/8.811, allocations: 1.058 MB / 3.973 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/8.811, allocations: 66.62 kB / 3.973 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/8.811, allocations: 83.66 kB / 3.973 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/8.812, allocations: 0.7978 MB / 3.974 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/8.812, allocations: 0 / 3.974 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/8.812, allocations: 32.91 kB / 3.974 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/8.812, allocations: 28.28 kB / 3.974 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/8.813, allocations: 0.7133 MB / 3.974 GB, free: 162.1 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.004412/8.818, allocations: 3.658 MB / 3.978 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/8.819, allocations: 1.061 MB / 3.979 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/8.819, allocations: 345.7 kB / 3.979 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/8.82, allocations: 400.7 kB / 3.98 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/8.82, allocations: 52.98 kB / 3.98 GB, free: 158.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/8.82, allocations: 0 / 3.98 GB, free: 158.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001383/8.822, allocations: 0.6699 MB / 3.981 GB, free: 158.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/8.822, allocations: 62.7 kB / 3.981 GB, free: 158.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/8.822, allocations: 0.7123 MB / 3.981 GB, free: 157.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/8.823, allocations: 37.64 kB / 3.981 GB, free: 157.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/8.823, allocations: 474.8 kB / 3.982 GB, free: 157.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/8.823, allocations: 218.3 kB / 3.982 GB, free: 157.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/8.823, allocations: 11.88 kB / 3.982 GB, free: 157.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/8.823, allocations: 332.6 kB / 3.982 GB, free: 157 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/8.823, allocations: 222.5 kB / 3.983 GB, free: 156.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/8.824, allocations: 371.4 kB / 3.983 GB, free: 156.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/8.824, allocations: 279 kB / 3.983 GB, free: 156.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.824, allocations: 3.594 kB / 3.983 GB, free: 156.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009937/8.825, allocations: 0.6862 MB / 3.984 GB, free: 156.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/8.825, allocations: 460.9 kB / 3.984 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/8.825, allocations: 6.359 kB / 3.984 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/8.825, allocations: 3.188 kB / 3.984 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/8.826, allocations: 134.8 kB / 3.984 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/8.826, allocations: 7.703 kB / 3.984 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/8.827, allocations: 130 kB / 3.985 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/8.827, allocations: 20.47 kB / 3.985 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/8.827, allocations: 8.328 kB / 3.985 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008404/8.828, allocations: 0.5678 MB / 3.985 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/8.828, allocations: 6.781 kB / 3.985 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/8.828, allocations: 3.938 kB / 3.985 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/8.829, allocations: 133.5 kB / 3.985 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/8.829, allocations: 3.219 kB / 3.985 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/8.83, allocations: 128 kB / 3.985 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/8.83, allocations: 22.34 kB / 3.985 GB, free: 155.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.0001806/8.83, allocations: 143.6 kB / 3.986 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/8.83, allocations: 111.3 kB / 3.986 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/8.831, allocations: 0.7129 MB / 3.986 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/8.831, allocations: 7.812 kB / 3.986 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/8.831, allocations: 4 kB / 3.986 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000831/8.832, allocations: 0.8781 MB / 3.987 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/8.835, allocations: 2.186 MB / 3.989 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/8.835, allocations: 3.5 kB / 3.989 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/8.836, allocations: 155.8 kB / 3.989 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/8.836, allocations: 7.031 kB / 3.989 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/8.836, allocations: 23.08 kB / 3.989 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/8.836, allocations: 7.5 kB / 3.99 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/8.836, allocations: 11.44 kB / 3.99 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/8.837, allocations: 1.318 MB / 3.991 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/8.838, allocations: 266.3 kB / 3.991 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/8.838, allocations: 19.19 kB / 3.991 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/8.839, allocations: 122.7 kB / 3.991 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/8.839, allocations: 57.59 kB / 3.991 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/8.839, allocations: 22.67 kB / 3.991 GB, free: 152.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007412/8.84, allocations: 0.5585 MB / 3.992 GB, free: 151.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/8.84, allocations: 0 / 3.992 GB, free: 151.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002268/8.842, allocations: 0.7705 MB / 3.993 GB, free: 151.6 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.004753/8.847, allocations: 4.965 MB / 3.997 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001553/8.849, allocations: 0.9048 MB / 3.998 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/8.849, allocations: 0 / 3.998 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/8.849, allocations: 321.7 kB / 3.999 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/8.852, allocations: 0.6836 MB / 3.999 GB, free: 148 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/8.856, allocations: 1.983 MB / 4.001 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/8.857, allocations: 1.149 MB / 4.002 GB, free: 146.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001519/8.858, allocations: 390.2 kB / 4.003 GB, free: 146.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/8.859, allocations: 388 kB / 4.003 GB, free: 146.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/8.859, allocations: 3.938 kB / 4.003 GB, free: 146.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/8.986, allocations: 70.72 MB / 4.072 GB, free: 81.52 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/8.986, allocations: 212.2 kB / 4.072 GB, free: 81.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.412/13.4, allocations: 0 / 4.072 GB, free: 81.29 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)