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.57/1.57, allocations: 252 MB / 267.3 MB, free: 10.84 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.000953/0.0009529, allocations: 168.6 kB / 327 MB, free: 2.098 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.888/1.888, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0008685/0.0008681, allocations: 94.28 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 13.22 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.739/0.9368, allocations: 234.9 MB / 1.13 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.9489, allocations: 7.268 MB / 1.137 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.9516, allocations: 42.81 kB / 1.137 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.954, allocations: 0.5798 MB / 1.138 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.9606, allocations: 1.958 MB / 1.14 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005486/0.9661, allocations: 1.882 MB / 1.142 GB, free: 440 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006672/0.9728, allocations: 4.498 MB / 1.146 GB, free: 428 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.9748, allocations: 0.9211 MB / 1.147 GB, free: 276 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00562/0.9805, allocations: 1.614 MB / 1.149 GB, free: 244 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.9838, allocations: 0.9508 MB / 1.15 GB, free: 196 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.9843, allocations: 47.31 kB / 1.15 GB, free: 196 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007175/0.9915, allocations: 2.829 MB / 1.152 GB, free: 172 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.9927, allocations: 395.1 kB / 1.153 GB, free: 116 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.9949, allocations: 0.6594 MB / 1.153 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007749/1.003, allocations: 2.761 MB / 1.156 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/1.003, allocations: 0 / 1.156 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.745e-06/1.003, allocations: 0 / 1.156 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.697e-05/1.003, allocations: 0 / 1.156 GB, free: 14.64 MB / 0.7136 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.004597/1.007, allocations: 1.481 MB / 1.158 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.008, allocations: 8.281 kB / 1.158 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004346/1.008, allocations: 129.1 kB / 1.158 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/1.011, allocations: 419.5 kB / 1.158 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/1.013, allocations: 0.9644 MB / 1.159 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/1.013, allocations: 60.25 kB / 1.159 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/1.013, allocations: 96.02 kB / 1.159 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/1.015, allocations: 0.876 MB / 1.16 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.015, allocations: 7.359 kB / 1.16 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/1.016, allocations: 30.81 kB / 1.16 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/1.016, allocations: 28.31 kB / 1.16 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.017, allocations: 0.8389 MB / 1.161 GB, free: 12.5 MB / 0.7136 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.006205/1.024, allocations: 3.651 MB / 1.164 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.025, allocations: 1.1 MB / 1.166 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/1.026, allocations: 377.5 kB / 1.166 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/1.027, allocations: 425.6 kB / 1.166 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/1.027, allocations: 37.66 kB / 1.166 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.697e-06/1.027, allocations: 0 / 1.166 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002311/1.029, allocations: 0.9833 MB / 1.167 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.029, allocations: 58.44 kB / 1.167 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.031, allocations: 0.8411 MB / 1.168 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.031, allocations: 42.95 kB / 1.168 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/1.031, allocations: 485.5 kB / 1.169 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.031, allocations: 210.8 kB / 1.169 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/1.032, allocations: 11 kB / 1.169 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.032, allocations: 327.2 kB / 1.169 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/1.032, allocations: 262.4 kB / 1.169 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/1.033, allocations: 380.4 kB / 1.17 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.034, allocations: 0.6074 MB / 1.17 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.034, allocations: 4 kB / 1.17 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001901/1.036, allocations: 0.7441 MB / 1.171 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.036, allocations: 122.9 kB / 1.171 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.036, allocations: 6.219 kB / 1.171 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.771e-05/1.036, allocations: 3 kB / 1.171 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.037, allocations: 131 kB / 1.171 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.037, allocations: 11.92 kB / 1.171 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.038, allocations: 129.6 kB / 1.172 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/1.038, allocations: 22.34 kB / 1.172 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.038, allocations: 4.938 kB / 1.172 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/1.04, allocations: 0.6218 MB / 1.172 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/1.04, allocations: 0 / 1.172 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/1.04, allocations: 6.562 kB / 1.172 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/1.04, allocations: 130 kB / 1.172 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.04, allocations: 6.578 kB / 1.172 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.041, allocations: 122.8 kB / 1.172 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/1.041, allocations: 20.5 kB / 1.172 GB, free: 4.301 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007101/1.042, allocations: 387.4 kB / 1.173 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/1.042, allocations: 99.88 kB / 1.173 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/1.044, allocations: 0.7613 MB / 1.174 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.044, allocations: 5.875 kB / 1.174 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.044, allocations: 4.906 kB / 1.174 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/1.046, allocations: 0.9213 MB / 1.175 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/1.05, allocations: 2.275 MB / 1.177 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.05, allocations: 2.188 kB / 1.177 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/1.051, allocations: 142.7 kB / 1.177 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.051, allocations: 5.844 kB / 1.177 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/1.051, allocations: 17.12 kB / 1.177 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/1.051, allocations: 8.969 kB / 1.177 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.051, allocations: 6.703 kB / 1.177 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.053, allocations: 1.295 MB / 1.178 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007604/1.054, allocations: 268.4 kB / 1.178 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/1.054, allocations: 14.91 kB / 1.178 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.055, allocations: 108.6 kB / 1.179 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.056, allocations: 52.8 kB / 1.179 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/1.056, allocations: 26.27 kB / 1.179 GB, free: 28 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001032/1.057, allocations: 0.5835 MB / 1.179 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.11e-07/1.057, allocations: 2.438 kB / 1.179 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001908/1.059, allocations: 0.5371 MB / 1.18 GB, free: 15.41 MB / 0.7292 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00305/1.062, allocations: 1.968 MB / 1.182 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001995/1.064, allocations: 0.9581 MB / 1.183 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.064, allocations: 4 kB / 1.183 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006663/1.064, allocations: 353.1 kB / 1.183 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.068, allocations: 0.6131 MB / 1.184 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.084, allocations: 8.472 MB / 1.192 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.085, allocations: 1.128 MB / 1.193 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001423/1.086, allocations: 296.1 kB / 1.193 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/1.087, allocations: 415.3 kB / 1.194 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/1.087, allocations: 3.938 kB / 1.194 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06258/1.15, allocations: 28.25 MB / 1.221 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/1.15, allocations: 268 kB / 1.221 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/4.227, allocations: 0 / 1.221 GB, free: 4.777 MB / 0.7605 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)