Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.765/2.765, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001338/0.001338, allocations: 188.7 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009719/0.0009716, allocations: 94.77 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004818, allocations: 12.22 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.0886/0.3183, allocations: 42.36 MB / 1.02 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03565/0.354, allocations: 10.67 MB / 1.03 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.3568, allocations: 47.69 kB / 1.03 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.3604, allocations: 488.8 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008974/0.3695, allocations: 1.735 MB / 1.032 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005619/0.3751, allocations: 1.11 MB / 1.034 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0456/0.4207, allocations: 24.71 MB / 1.058 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.4365, allocations: 6.414 MB / 1.064 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6787/1.115, allocations: 5.432 MB / 1.069 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01416/1.129, allocations: 5.313 MB / 1.074 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003241/1.133, allocations: 287.5 kB / 1.075 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/1.143, allocations: 1.088 MB / 1.076 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005253/1.148, allocations: 1.342 MB / 1.077 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006135/1.155, allocations: 1.565 MB / 1.079 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02045/1.175, allocations: 10.2 MB / 1.089 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/1.175, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.347e-06/1.175, allocations: 1.062 kB / 1.089 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005501/1.176, allocations: 4 kB / 1.089 GB, free: 15.88 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.02824/1.204, allocations: 6.639 MB / 1.095 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.204, allocations: 9 kB / 1.095 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004127/1.208, allocations: 0.7115 MB / 1.096 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007194/1.215, allocations: 0.8465 MB / 1.097 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02442/1.24, allocations: 7.443 MB / 1.104 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007072/1.241, allocations: 415.2 kB / 1.104 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/1.244, allocations: 0.5161 MB / 1.105 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/1.272, allocations: 7.633 MB / 1.112 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003606/1.272, allocations: 22.34 kB / 1.112 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002546/1.275, allocations: 220.3 kB / 1.112 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003228/1.275, allocations: 171.5 kB / 1.113 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02238/1.298, allocations: 6.034 MB / 1.118 GB, free: 10.75 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.07402/1.372, allocations: 29.24 MB / 1.147 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/1.384, allocations: 3.385 MB / 1.15 GB, free: 8.621 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008034/1.392, allocations: 1.951 MB / 1.152 GB, free: 7.633 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/1.395, allocations: 1.003 MB / 1.153 GB, free: 6.539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/1.395, allocations: 76.42 kB / 1.153 GB, free: 6.473 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 9.568e-06/1.395, allocations: 0 / 1.153 GB, free: 6.473 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.02329/1.419, allocations: 4.678 MB / 1.158 GB, free: 4.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/1.419, allocations: 79.19 kB / 1.158 GB, free: 4.082 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02552/1.444, allocations: 5.974 MB / 1.164 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001322/1.446, allocations: 84.45 kB / 1.164 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01037/1.456, allocations: 3.042 MB / 1.167 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003665/1.46, allocations: 0.9005 MB / 1.168 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008996/1.461, allocations: 65.41 kB / 1.168 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0007185/1.461, allocations: 450.8 kB / 1.168 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007501/1.469, allocations: 1.626 MB / 1.17 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00868/1.478, allocations: 2.67 MB / 1.172 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006618/1.484, allocations: 2.205 MB / 1.175 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.6e-05/1.485, allocations: 10.62 kB / 1.175 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01854/1.503, allocations: 4.933 MB / 1.179 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001258/1.504, allocations: 1.033 MB / 1.18 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.505, allocations: 32 kB / 1.18 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/1.505, allocations: 56 kB / 1.18 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009031/1.514, allocations: 0.8106 MB / 1.181 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/1.516, allocations: 1.251 MB / 1.182 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01473/1.531, allocations: 0.6159 MB / 1.183 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/1.532, allocations: 160 kB / 1.183 GB, free: 392 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.532, allocations: 10.81 kB / 1.183 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02343/1.556, allocations: 4.428 MB / 1.188 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/1.556, allocations: 33.56 kB / 1.188 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/1.556, allocations: 56 kB / 1.188 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009704/1.566, allocations: 0.7836 MB / 1.188 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001798/1.566, allocations: 68.53 kB / 1.188 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/1.58, allocations: 0.547 MB / 1.189 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.582, allocations: 160 kB / 1.189 GB, free: 10.54 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.01204/1.594, allocations: 2.5 MB / 1.192 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004262/1.598, allocations: 0.5559 MB / 1.192 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/1.619, allocations: 3.887 MB / 1.196 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.865e-05/1.62, allocations: 28 kB / 1.196 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.62, allocations: 3.125 kB / 1.196 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01424/1.634, allocations: 2.986 MB / 1.199 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04713/1.681, allocations: 9.712 MB / 1.208 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/1.681, allocations: 0 / 1.208 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008112/1.689, allocations: 0.5956 MB / 1.209 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-05/1.689, allocations: 8 kB / 1.209 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006864/1.69, allocations: 79.95 kB / 1.209 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/1.691, allocations: 1.194 MB / 1.21 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.691, allocations: 2.734 kB / 1.21 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/1.716, allocations: 5.628 MB / 1.216 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00865/1.725, allocations: 1.306 MB / 1.217 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003605/1.729, allocations: 59.98 kB / 1.217 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01326/1.742, allocations: 387.3 kB / 1.217 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/1.743, allocations: 152.5 kB / 1.218 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001271/1.744, allocations: 143.9 kB / 1.218 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01852/1.763, allocations: 4.207 MB / 1.222 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.132e-06/1.763, allocations: 0 / 1.222 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02515/1.788, allocations: 3.238 MB / 1.225 GB, free: 5.664 MB / 0.7605 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.02934/1.818, allocations: 6.554 MB / 1.231 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02188/1.84, allocations: 5.992 MB / 1.237 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.831e-05/1.84, allocations: 4.562 kB / 1.237 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00821/1.848, allocations: 1.59 MB / 1.239 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05675/1.905, allocations: 3.947 MB / 1.243 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.287/2.192, allocations: 50.57 MB / 1.292 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/2.202, allocations: 4.519 MB / 1.296 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01797/2.22, allocations: 2.856 MB / 1.299 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008342/2.229, allocations: 2.541 MB / 1.302 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of SimCode: time 1.193e-06/2.229, allocations: 4 kB / 1.302 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/3.364, allocations: 182 MB / 1.479 GB, free: 334.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/3.364, allocations: 249.7 kB / 1.48 GB, free: 333.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.633/13, allocations: 0 / 1.48 GB, free: 333.9 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)