Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",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.514/1.514, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001137/0.001137, allocations: 180.2 kB / 326.5 MB, free: 2.25 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.953/1.953, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008997/0.0008997, allocations: 89.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 9.219 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.02897/0.2495, allocations: 38.49 MB / 0.9377 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.263, allocations: 9.829 MB / 0.9473 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.2655, allocations: 47.69 kB / 0.9474 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.2681, allocations: 0.6257 MB / 0.948 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/0.2753, allocations: 1.946 MB / 0.9499 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.2799, allocations: 1.467 MB / 0.9513 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.2917, allocations: 12 MB / 0.963 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.302, allocations: 6.368 MB / 0.9693 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01301/0.315, allocations: 4.539 MB / 0.9737 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009185/0.3243, allocations: 3.663 MB / 0.9773 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.3262, allocations: 284 kB / 0.9775 GB, free: 408 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005919/0.3322, allocations: 0.995 MB / 0.9785 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.3346, allocations: 1.261 MB / 0.9797 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004018/0.3386, allocations: 1.561 MB / 0.9813 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.3517, allocations: 9.948 MB / 0.991 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3518, allocations: 3.938 kB / 0.991 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3518, allocations: 0 / 0.991 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004301/0.3522, allocations: 0 / 0.991 GB, free: 2.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01734/0.3696, allocations: 6.606 MB / 0.9974 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.3696, allocations: 8.031 kB / 0.9974 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00264/0.3723, allocations: 0.7103 MB / 0.9981 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.3765, allocations: 0.8424 MB / 0.999 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.392, allocations: 6.78 MB / 1.006 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005437/0.3926, allocations: 419.9 kB / 1.006 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.3942, allocations: 0.5037 MB / 1.006 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.41, allocations: 7.486 MB / 1.014 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.4102, allocations: 27.77 kB / 1.014 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006941/0.4109, allocations: 220 kB / 1.014 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.4111, allocations: 167.9 kB / 1.014 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.423, allocations: 6.04 MB / 1.02 GB, free: 4.301 MB / 0.6667 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.04089/0.4639, allocations: 29.46 MB / 1.049 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006333/0.4703, allocations: 3.618 MB / 1.052 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.4715, allocations: 0.9981 MB / 1.053 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.937e-05/0.4716, allocations: 80.48 kB / 1.053 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.289e-06/0.4716, allocations: 0 / 1.053 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.4411/0.9127, allocations: 4.644 MB / 1.058 GB, free: 135.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.9128, allocations: 77.22 kB / 1.058 GB, free: 135.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/0.9256, allocations: 6.569 MB / 1.064 GB, free: 135.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007583/0.9265, allocations: 79.33 kB / 1.065 GB, free: 135.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.9298, allocations: 2.944 MB / 1.067 GB, free: 134.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001734/0.9315, allocations: 0.9063 MB / 1.068 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.9317, allocations: 66.09 kB / 1.068 GB, free: 134.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002584/0.932, allocations: 449.1 kB / 1.069 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.9351, allocations: 1.616 MB / 1.07 GB, free: 133.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/0.9393, allocations: 2.65 MB / 1.073 GB, free: 132.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.9435, allocations: 2.204 MB / 1.075 GB, free: 131.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/0.9435, allocations: 12.91 kB / 1.075 GB, free: 131.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008672/0.9522, allocations: 4.924 MB / 1.08 GB, free: 129.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002684/0.9549, allocations: 15.02 MB / 1.095 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.934e-05/0.955, allocations: 35.27 kB / 1.095 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-05/0.9551, allocations: 55.41 kB / 1.095 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/0.9588, allocations: 0.8843 MB / 1.096 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006716/0.9595, allocations: 1.251 MB / 1.097 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/0.9652, allocations: 0.6539 MB / 1.097 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/0.9657, allocations: 158.8 kB / 1.098 GB, free: 112 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9657, allocations: 3.969 kB / 1.098 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006978/0.9727, allocations: 4.418 MB / 1.102 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/0.9728, allocations: 35.59 kB / 1.102 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.951e-05/0.9728, allocations: 52.16 kB / 1.102 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.9754, allocations: 0.8507 MB / 1.103 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.995e-05/0.9755, allocations: 72.41 kB / 1.103 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/0.9799, allocations: 0.5989 MB / 1.103 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.9802, allocations: 161.4 kB / 1.104 GB, free: 109.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003397/0.9836, allocations: 2.491 MB / 1.106 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/0.985, allocations: 0.5416 MB / 1.107 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/0.9903, allocations: 3.886 MB / 1.11 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.9904, allocations: 28 kB / 1.11 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.9904, allocations: 0 / 1.11 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003203/0.9936, allocations: 2.978 MB / 1.113 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/1.009, allocations: 9.806 MB / 1.123 GB, free: 92.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.009, allocations: 4.094 kB / 1.123 GB, free: 92.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.011, allocations: 0.5462 MB / 1.123 GB, free: 92.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/1.011, allocations: 15.95 kB / 1.123 GB, free: 92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.012, allocations: 81.16 kB / 1.123 GB, free: 91.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003737/1.012, allocations: 1.184 MB / 1.125 GB, free: 90.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.012, allocations: 8.172 kB / 1.125 GB, free: 90.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006828/1.019, allocations: 5.721 MB / 1.13 GB, free: 84.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003699/1.022, allocations: 1.388 MB / 1.132 GB, free: 83.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.024, allocations: 69.56 kB / 1.132 GB, free: 83.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/1.028, allocations: 402.8 kB / 1.132 GB, free: 82.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/1.028, allocations: 149.8 kB / 1.132 GB, free: 82.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.028, allocations: 127.9 kB / 1.132 GB, free: 82.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006937/1.035, allocations: 4.679 MB / 1.137 GB, free: 78.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.044e-06/1.035, allocations: 0 / 1.137 GB, free: 78.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009637/1.045, allocations: 3.267 MB / 1.14 GB, free: 74.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008879/1.054, allocations: 6.794 MB / 1.147 GB, free: 67.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009018/1.063, allocations: 5.994 MB / 1.153 GB, free: 61.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.063, allocations: 1.031 kB / 1.153 GB, free: 61.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/1.065, allocations: 1.588 MB / 1.154 GB, free: 60.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01816/1.083, allocations: 3.891 MB / 1.158 GB, free: 56.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0383/1.122, allocations: 41.49 MB / 1.198 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004422/1.126, allocations: 4.624 MB / 1.203 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008426/1.135, allocations: 2.869 MB / 1.206 GB, free: 6.203 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004257/1.139, allocations: 2.549 MB / 1.208 GB, free: 3.656 MB / 0.698 GB Notification: Performance of SimCode: time 1.814e-06/1.139, allocations: 0 / 1.208 GB, free: 3.656 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/1.87, allocations: 180.6 MB / 1.385 GB, free: 288.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.87, allocations: 249.2 kB / 1.385 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/10.06, allocations: 4 kB / 1.385 GB, free: 288.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)