Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Pipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.475/1.475, allocations: 288.4 MB / 303.6 MB, free: 8.07 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.0009278/0.0009277, allocations: 176.5 kB / 372.2 MB, free: 10.12 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.213/1.213, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006673/0.0006673, allocations: 102.8 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 19.62 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1569, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.02923/0.1862, allocations: 42.37 MB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1991, allocations: 10.67 MB / 1.032 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.2005, allocations: 47.69 kB / 1.032 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.2018, allocations: 496.8 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.2061, allocations: 1.845 MB / 1.034 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.2091, allocations: 1.142 MB / 1.035 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02238/0.2315, allocations: 24.81 MB / 1.06 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.2429, allocations: 7.299 MB / 1.067 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3637/0.6066, allocations: 5.415 MB / 1.072 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.6185, allocations: 5.316 MB / 1.077 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002885/0.6215, allocations: 287.8 kB / 1.078 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00773/0.6292, allocations: 1.342 MB / 1.079 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00398/0.6332, allocations: 1.341 MB / 1.08 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.6459, allocations: 3.57 MB / 1.084 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.6622, allocations: 10.27 MB / 1.094 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.6622, allocations: 1.219 kB / 1.094 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.796e-06/0.6622, allocations: 0 / 1.094 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005005/0.6628, allocations: 0 / 1.094 GB, free: 16.26 MB / 0.6823 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.01968/0.6824, allocations: 6.561 MB / 1.1 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6825, allocations: 16.7 kB / 1.1 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003312/0.6858, allocations: 0.7174 MB / 1.101 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005133/0.691, allocations: 0.8405 MB / 1.102 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.7069, allocations: 7.617 MB / 1.109 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/0.7074, allocations: 415.4 kB / 1.109 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.7093, allocations: 0.51 MB / 1.11 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/0.7297, allocations: 7.637 MB / 1.117 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003441/0.7302, allocations: 22.09 kB / 1.117 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001987/0.7322, allocations: 224 kB / 1.118 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.7325, allocations: 172.3 kB / 1.118 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.7478, allocations: 6.037 MB / 1.124 GB, free: 9.871 MB / 0.6823 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.04394/0.7918, allocations: 29.26 MB / 1.152 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005014/0.7969, allocations: 3.383 MB / 1.156 GB, free: 6.746 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.7998, allocations: 1.958 MB / 1.157 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.8009, allocations: 1.001 MB / 1.158 GB, free: 4.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.801, allocations: 73.69 kB / 1.159 GB, free: 4.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 5.41e-06/0.801, allocations: 0 / 1.159 GB, free: 4.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.007925/0.809, allocations: 4.674 MB / 1.163 GB, free: 2.277 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.809, allocations: 83.31 kB / 1.163 GB, free: 2.207 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008296/0.8173, allocations: 5.974 MB / 1.169 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006441/0.818, allocations: 82.17 kB / 1.169 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/0.8205, allocations: 2.943 MB / 1.172 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.8218, allocations: 0.8973 MB / 1.173 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.822, allocations: 69.44 kB / 1.173 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.8222, allocations: 453 kB / 1.173 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002455/0.8247, allocations: 1.625 MB / 1.175 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.8277, allocations: 2.668 MB / 1.178 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005482/0.8332, allocations: 4.579 MB / 1.182 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.8332, allocations: 8 kB / 1.182 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008154/0.8413, allocations: 4.933 MB / 1.187 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006953/0.8421, allocations: 1.031 MB / 1.188 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/0.8421, allocations: 32 kB / 1.188 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.107e-05/0.8422, allocations: 48 kB / 1.188 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.845, allocations: 0.8111 MB / 1.189 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007254/0.8457, allocations: 1.252 MB / 1.19 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/0.8511, allocations: 0.6124 MB / 1.191 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.8514, allocations: 160 kB / 1.191 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.8514, allocations: 4 kB / 1.191 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006042/0.8575, allocations: 4.425 MB / 1.195 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/0.8575, allocations: 32.55 kB / 1.195 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/0.8576, allocations: 48 kB / 1.195 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.8599, allocations: 0.7923 MB / 1.196 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-05/0.86, allocations: 73.09 kB / 1.196 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/0.865, allocations: 0.5467 MB / 1.196 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.8652, allocations: 156 kB / 1.197 GB, free: 2.664 MB / 0.7292 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.004611/0.8699, allocations: 2.505 MB / 1.199 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/0.8714, allocations: 0.5442 MB / 1.2 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00601/0.8774, allocations: 3.891 MB / 1.203 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.8775, allocations: 31.23 kB / 1.203 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.8775, allocations: 4 kB / 1.203 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003975/0.8814, allocations: 2.993 MB / 1.206 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.8978, allocations: 9.701 MB / 1.216 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.8978, allocations: 0 / 1.216 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/0.9001, allocations: 0.5993 MB / 1.216 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.9002, allocations: 16 kB / 1.216 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.9003, allocations: 75.95 kB / 1.216 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006234/0.901, allocations: 1.195 MB / 1.218 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.901, allocations: 0 / 1.218 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/0.9094, allocations: 5.628 MB / 1.223 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003657/0.913, allocations: 1.302 MB / 1.224 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/0.9143, allocations: 63.97 kB / 1.224 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004224/0.9185, allocations: 381 kB / 1.225 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.9188, allocations: 160.1 kB / 1.225 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/0.9191, allocations: 147.9 kB / 1.225 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00669/0.9258, allocations: 4.207 MB / 1.229 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9259, allocations: 0 / 1.229 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01004/0.9359, allocations: 3.238 MB / 1.232 GB, free: 13.78 MB / 0.7761 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.01031/0.9463, allocations: 6.569 MB / 1.239 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009039/0.9553, allocations: 5.999 MB / 1.245 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.9554, allocations: 4.75 kB / 1.245 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.9576, allocations: 1.588 MB / 1.246 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02898/0.9866, allocations: 3.883 MB / 1.25 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1853/1.172, allocations: 50.59 MB / 1.299 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/1.178, allocations: 4.515 MB / 1.304 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01518/1.193, allocations: 2.85 MB / 1.307 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006944/1.2, allocations: 2.542 MB / 1.309 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of SimCode: time 1.152e-06/1.2, allocations: 0 / 1.309 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.335/2.535, allocations: 184.1 MB / 1.489 GB, free: 329.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/2.535, allocations: 251 kB / 1.489 GB, free: 329.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/9.795, allocations: 0 / 1.489 GB, free: 329.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)