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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 194.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.5486 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 71.27 kB / 0.6711 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1769, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.5545/0.7315, allocations: 237 MB / 1.014 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008796/0.7403, allocations: 7.11 MB / 1.021 GB, free: 0 / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.7414, allocations: 45.98 kB / 1.021 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.743, allocations: 0.6147 MB / 1.022 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.7471, allocations: 1.938 MB / 1.024 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.7513, allocations: 1.877 MB / 1.026 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003744/0.755, allocations: 3.264 MB / 1.029 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7563, allocations: 1.094 MB / 1.03 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.7597, allocations: 1.78 MB / 1.032 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.7613, allocations: 1.015 MB / 1.033 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.7614, allocations: 126.5 kB / 1.033 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.7656, allocations: 2.585 MB / 1.035 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.766, allocations: 470.3 kB / 1.036 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.7666, allocations: 0.709 MB / 1.036 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.7698, allocations: 2.831 MB / 1.039 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7698, allocations: 0 / 1.039 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7698, allocations: 0 / 1.039 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7699, allocations: 4 kB / 1.039 GB, free: 6.398 MB / 0.7481 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.002462/0.7723, allocations: 1.707 MB / 1.041 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7724, allocations: 8.656 kB / 1.041 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.7725, allocations: 123.2 kB / 1.041 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.7751, allocations: 422.5 kB / 1.041 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.7764, allocations: 0.9527 MB / 1.042 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.7765, allocations: 68.69 kB / 1.042 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7766, allocations: 90.34 kB / 1.043 GB, free: 4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.778, allocations: 0.8649 MB / 1.043 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7781, allocations: 0 / 1.043 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.7782, allocations: 29.5 kB / 1.043 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.7782, allocations: 32.56 kB / 1.043 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.7795, allocations: 0.8058 MB / 1.044 GB, free: 3.074 MB / 0.7481 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.004057/0.7836, allocations: 3.614 MB / 1.048 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.785, allocations: 1.097 MB / 1.049 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.7855, allocations: 370.6 kB / 1.049 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/0.7862, allocations: 406.7 kB / 1.05 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.7862, allocations: 47.97 kB / 1.05 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 1.754e-06/0.7863, allocations: 7.938 kB / 1.05 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.001876/0.7881, allocations: 0.9499 MB / 1.051 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.7882, allocations: 61.84 kB / 1.051 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.7891, allocations: 0.8274 MB / 1.051 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.7892, allocations: 38.42 kB / 1.051 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.7895, allocations: 484.7 kB / 1.052 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.7897, allocations: 214.1 kB / 1.052 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.7899, allocations: 114.8 kB / 1.052 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.79, allocations: 331 kB / 1.053 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.7904, allocations: 250.3 kB / 1.053 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.791, allocations: 382 kB / 1.053 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.7919, allocations: 0.5855 MB / 1.054 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7919, allocations: 0 / 1.054 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001195/0.7931, allocations: 0.7321 MB / 1.054 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7932, allocations: 5.062 kB / 1.054 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7932, allocations: 1.781 kB / 1.054 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7932, allocations: 3.125 kB / 1.054 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.7937, allocations: 129.9 kB / 1.055 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7937, allocations: 8.688 kB / 1.055 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008427/0.7946, allocations: 118.1 kB / 1.055 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.7947, allocations: 21.69 kB / 1.055 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007213/0.7954, allocations: 0.4897 MB / 1.055 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005343/0.7959, allocations: 374.5 kB / 1.056 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009947/0.7969, allocations: 0.576 MB / 1.056 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.7969, allocations: 2.109 kB / 1.056 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001223/0.7982, allocations: 0.7199 MB / 1.057 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.7982, allocations: 4.844 kB / 1.057 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.7982, allocations: 0 / 1.057 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/0.7982, allocations: 5.25 kB / 1.057 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.7987, allocations: 127.6 kB / 1.057 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7988, allocations: 8.406 kB / 1.057 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/0.7996, allocations: 111.9 kB / 1.057 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.7996, allocations: 23.8 kB / 1.057 GB, free: 9.867 MB / 0.7637 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.0001673/0.7998, allocations: 221.8 kB / 1.057 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.8, allocations: 100.8 kB / 1.057 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.8014, allocations: 0.7366 MB / 1.058 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8014, allocations: 4 kB / 1.058 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8014, allocations: 4 kB / 1.058 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.8026, allocations: 0.9072 MB / 1.059 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.8057, allocations: 2.236 MB / 1.061 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8058, allocations: 4 kB / 1.061 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.8064, allocations: 142 kB / 1.061 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.8064, allocations: 8.344 kB / 1.061 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.8065, allocations: 20 kB / 1.061 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.8065, allocations: 7.984 kB / 1.061 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8065, allocations: 4 kB / 1.061 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.8084, allocations: 1.26 MB / 1.063 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.8087, allocations: 259.8 kB / 1.063 GB, free: 3.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.8089, allocations: 12 kB / 1.063 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.8096, allocations: 99.75 kB / 1.063 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.8098, allocations: 48.31 kB / 1.063 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.8098, allocations: 20 kB / 1.063 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007016/0.8105, allocations: 0.5821 MB / 1.064 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8105, allocations: 4 kB / 1.064 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001199/0.8117, allocations: 0.5377 MB / 1.064 GB, free: 2.387 MB / 0.7637 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.002484/0.8142, allocations: 1.944 MB / 1.066 GB, free: 392 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.8161, allocations: 1.006 MB / 1.067 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8161, allocations: 4.062 kB / 1.067 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.8167, allocations: 346.1 kB / 1.067 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.8191, allocations: 0.5951 MB / 1.068 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.8307, allocations: 8.324 MB / 1.076 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.8314, allocations: 1.124 MB / 1.077 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8325, allocations: 299.9 kB / 1.077 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.833, allocations: 411.3 kB / 1.078 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.8331, allocations: 0 / 1.078 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.619/1.452, allocations: 28.8 MB / 1.106 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/1.452, allocations: 248.3 kB / 1.106 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.93, allocations: 0 / 1.106 GB, free: 7.332 MB / 0.8106 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/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)