Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildingSystems_BuildingSystems_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.00547/0.00547, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001368/0.001368, allocations: 195 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 281.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 99.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4324, allocations: 86.98 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.7293/1.162, allocations: 239.9 MB / 1 GB, free: 19.55 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01065/1.172, allocations: 7.206 MB / 1.007 GB, free: 19.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/1.175, allocations: 51.03 kB / 1.007 GB, free: 19.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/1.177, allocations: 0.7031 MB / 1.008 GB, free: 19.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/1.182, allocations: 2.074 MB / 1.01 GB, free: 19.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/1.187, allocations: 2.03 MB / 1.012 GB, free: 19.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004183/1.191, allocations: 3.271 MB / 1.015 GB, free: 19.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/1.192, allocations: 1.142 MB / 1.016 GB, free: 19.14 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/1.196, allocations: 1.795 MB / 1.018 GB, free: 19.11 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/1.198, allocations: 0.962 MB / 1.019 GB, free: 18.99 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/1.198, allocations: 120.1 kB / 1.019 GB, free: 18.99 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004818/1.203, allocations: 2.489 MB / 1.021 GB, free: 18.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006066/1.204, allocations: 462 kB / 1.022 GB, free: 18.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/1.205, allocations: 0.7194 MB / 1.023 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/1.21, allocations: 2.704 MB / 1.025 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.21, allocations: 2.094 kB / 1.025 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/1.21, allocations: 0.9062 kB / 1.025 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.745e-05/1.21, allocations: 0 / 1.025 GB, free: 18.4 MB / 0.7169 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.002961/1.213, allocations: 1.762 MB / 1.027 GB, free: 17.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.213, allocations: 7.906 kB / 1.027 GB, free: 17.44 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/1.213, allocations: 129.3 kB / 1.027 GB, free: 17.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/1.216, allocations: 426.4 kB / 1.028 GB, free: 17.33 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.217, allocations: 1.03 MB / 1.029 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/1.218, allocations: 70.34 kB / 1.029 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.218, allocations: 79.25 kB / 1.029 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.219, allocations: 0.8666 MB / 1.029 GB, free: 16.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.219, allocations: 0 / 1.029 GB, free: 16.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/1.219, allocations: 32.91 kB / 1.03 GB, free: 16.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/1.219, allocations: 28.62 kB / 1.03 GB, free: 16.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.221, allocations: 0.8046 MB / 1.03 GB, free: 16.89 MB / 0.7169 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.004405/1.225, allocations: 3.661 MB / 1.034 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.226, allocations: 1.102 MB / 1.035 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/1.227, allocations: 375 kB / 1.035 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/1.228, allocations: 408.5 kB / 1.036 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/1.228, allocations: 42.72 kB / 1.036 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.935e-06/1.228, allocations: 2.906 kB / 1.036 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.001974/1.23, allocations: 0.9598 MB / 1.037 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/1.23, allocations: 58.06 kB / 1.037 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/1.231, allocations: 0.8376 MB / 1.038 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/1.231, allocations: 38.92 kB / 1.038 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/1.231, allocations: 486 kB / 1.038 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/1.231, allocations: 224.3 kB / 1.038 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/1.231, allocations: 109.6 kB / 1.038 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/1.231, allocations: 330.8 kB / 1.039 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/1.232, allocations: 255.9 kB / 1.039 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/1.232, allocations: 367.6 kB / 1.039 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/1.233, allocations: 0.5882 MB / 1.04 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.233, allocations: 6.281 kB / 1.04 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00126/1.235, allocations: 0.7373 MB / 1.041 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.235, allocations: 9 kB / 1.041 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.235, allocations: 2.625 kB / 1.041 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.235, allocations: 3.312 kB / 1.041 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/1.235, allocations: 129.6 kB / 1.041 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.235, allocations: 5.5 kB / 1.041 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/1.236, allocations: 67.33 kB / 1.041 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.236, allocations: 26.88 kB / 1.041 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007246/1.237, allocations: 0.4909 MB / 1.041 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004705/1.237, allocations: 361 kB / 1.042 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008447/1.238, allocations: 0.577 MB / 1.042 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/1.238, allocations: 3.938 kB / 1.042 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001156/1.239, allocations: 0.7305 MB / 1.043 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.239, allocations: 7.594 kB / 1.043 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.239, allocations: 5.031 kB / 1.043 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/1.239, allocations: 2.812 kB / 1.043 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/1.24, allocations: 124 kB / 1.043 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.24, allocations: 9.594 kB / 1.043 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/1.241, allocations: 60.44 kB / 1.043 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/1.241, allocations: 23.03 kB / 1.043 GB, free: 10.22 MB / 0.7169 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.0001752/1.241, allocations: 216.2 kB / 1.043 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.241, allocations: 110.9 kB / 1.043 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/1.243, allocations: 0.7458 MB / 1.044 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.243, allocations: 12.45 kB / 1.044 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.243, allocations: 0 / 1.044 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009257/1.244, allocations: 0.9024 MB / 1.045 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/1.247, allocations: 2.248 MB / 1.047 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.247, allocations: 3.375 kB / 1.047 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/1.247, allocations: 140.2 kB / 1.047 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/1.247, allocations: 9.312 kB / 1.047 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/1.247, allocations: 15.88 kB / 1.047 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.247, allocations: 5.188 kB / 1.047 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.247, allocations: 11.83 kB / 1.047 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/1.249, allocations: 1.225 MB / 1.049 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/1.249, allocations: 264.6 kB / 1.049 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.25, allocations: 19.06 kB / 1.049 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/1.25, allocations: 47.58 kB / 1.049 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.25, allocations: 46.06 kB / 1.049 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/1.25, allocations: 23.41 kB / 1.049 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006708/1.251, allocations: 0.5895 MB / 1.05 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.251, allocations: 0 / 1.05 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001321/1.253, allocations: 0.5419 MB / 1.05 GB, free: 5.168 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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.002131/1.255, allocations: 1.909 MB / 1.052 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001702/1.256, allocations: 0.9503 MB / 1.053 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.256, allocations: 0 / 1.053 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/1.257, allocations: 338.9 kB / 1.053 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/1.259, allocations: 0.6141 MB / 1.054 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.271, allocations: 7.635 MB / 1.061 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/1.272, allocations: 1.116 MB / 1.062 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001208/1.273, allocations: 306.6 kB / 1.063 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006482/1.274, allocations: 415.3 kB / 1.063 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/1.274, allocations: 0 / 1.063 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/1.345, allocations: 29.37 MB / 1.092 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.529/10.87, allocations: 7.766 kB / 1.092 GB, free: 10.87 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)