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.907/1.907, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001269/0.001269, allocations: 176.5 kB / 372 MB, free: 10.28 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.697/1.697, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007958/0.0007959, allocations: 88.77 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03576/0.2713, allocations: 42.36 MB / 1.021 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.2886, allocations: 10.67 MB / 1.031 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.2911, allocations: 51.62 kB / 1.031 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.2932, allocations: 0.4929 MB / 1.032 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.2993, allocations: 1.724 MB / 1.034 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.3031, allocations: 1.11 MB / 1.035 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02664/0.3298, allocations: 24.7 MB / 1.059 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.3403, allocations: 6.406 MB / 1.065 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9437/1.284, allocations: 5.442 MB / 1.07 GB, free: 16.06 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/1.297, allocations: 5.309 MB / 1.076 GB, free: 16.06 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.002594/1.3, allocations: 288.2 kB / 1.076 GB, free: 16.06 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008929/1.309, allocations: 1.084 MB / 1.077 GB, free: 16.06 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.005067/1.314, allocations: 1.342 MB / 1.078 GB, free: 16.06 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.006872/1.321, allocations: 1.571 MB / 1.08 GB, free: 16.03 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.01781/1.339, allocations: 10.2 MB / 1.09 GB, free: 15.51 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/1.339, allocations: 3.875 kB / 1.09 GB, free: 15.51 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.575e-06/1.339, allocations: 3.281 kB / 1.09 GB, free: 15.51 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.000656/1.339, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.6824 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.02441/1.364, allocations: 6.633 MB / 1.096 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.364, allocations: 8.844 kB / 1.096 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004074/1.368, allocations: 0.7179 MB / 1.097 GB, free: 12.67 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005749/1.374, allocations: 0.8441 MB / 1.098 GB, free: 12.28 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/1.393, allocations: 7.444 MB / 1.105 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/1.393, allocations: 417.3 kB / 1.105 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/1.396, allocations: 0.5088 MB / 1.106 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/1.418, allocations: 7.638 MB / 1.113 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/1.418, allocations: 14.72 kB / 1.113 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/1.42, allocations: 230.9 kB / 1.114 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/1.42, allocations: 164.5 kB / 1.114 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/1.435, allocations: 6.039 MB / 1.12 GB, free: 9.77 MB / 0.6824 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.05305/1.488, allocations: 29.24 MB / 1.148 GB, free: 8.516 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/1.495, allocations: 3.385 MB / 1.152 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/1.498, allocations: 1.949 MB / 1.153 GB, free: 5.852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.499, allocations: 1.001 MB / 1.154 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/1.499, allocations: 77.22 kB / 1.154 GB, free: 4.695 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.408e-06/1.499, allocations: 0 / 1.154 GB, free: 4.695 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.009212/1.509, allocations: 4.68 MB / 1.159 GB, free: 2.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/1.509, allocations: 83.41 kB / 1.159 GB, free: 2.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.52, allocations: 5.97 MB / 1.165 GB, free: 15.27 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.521, allocations: 79.17 kB / 1.165 GB, free: 15.21 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/1.525, allocations: 2.943 MB / 1.168 GB, free: 12.65 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001873/1.527, allocations: 0.9008 MB / 1.169 GB, free: 11.88 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.527, allocations: 71.16 kB / 1.169 GB, free: 11.82 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0003056/1.527, allocations: 451.8 kB / 1.169 GB, free: 11.42 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/1.53, allocations: 1.619 MB / 1.171 GB, free: 10.59 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/1.534, allocations: 2.668 MB / 1.173 GB, free: 8.422 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/1.537, allocations: 2.211 MB / 1.176 GB, free: 6.328 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/1.537, allocations: 8 kB / 1.176 GB, free: 6.32 MB / 0.7137 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01051/1.548, allocations: 4.933 MB / 1.18 GB, free: 1.523 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001257/1.549, allocations: 1.032 MB / 1.181 GB, free: 64 kB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.781e-05/1.549, allocations: 36 kB / 1.181 GB, free: 28 kB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/1.549, allocations: 52.05 kB / 1.182 GB, free: 15.97 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004911/1.554, allocations: 0.8111 MB / 1.182 GB, free: 15.22 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.556, allocations: 1.25 MB / 1.184 GB, free: 13.94 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008082/1.564, allocations: 0.6162 MB / 1.184 GB, free: 13.32 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000941/1.565, allocations: 162.2 kB / 1.184 GB, free: 13.16 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.565, allocations: 5.562 kB / 1.184 GB, free: 13.16 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008975/1.574, allocations: 4.424 MB / 1.189 GB, free: 8.898 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.073e-05/1.574, allocations: 32 kB / 1.189 GB, free: 8.867 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.669e-05/1.574, allocations: 56.88 kB / 1.189 GB, free: 8.812 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/1.577, allocations: 0.7872 MB / 1.189 GB, free: 8.078 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.421e-05/1.577, allocations: 69.55 kB / 1.19 GB, free: 8.023 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/1.584, allocations: 0.5507 MB / 1.19 GB, free: 7.469 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008012/1.585, allocations: 159.8 kB / 1.19 GB, free: 7.316 MB / 0.7293 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.006093/1.591, allocations: 2.498 MB / 1.193 GB, free: 4.859 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00262/1.593, allocations: 0.5481 MB / 1.193 GB, free: 4.305 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008508/1.602, allocations: 3.895 MB / 1.197 GB, free: 364 kB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/1.602, allocations: 28 kB / 1.197 GB, free: 336 kB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.602, allocations: 4 kB / 1.197 GB, free: 332 kB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005021/1.607, allocations: 2.988 MB / 1.2 GB, free: 13.29 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.632, allocations: 9.714 MB / 1.209 GB, free: 3.531 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.632, allocations: 0 / 1.209 GB, free: 3.531 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.635, allocations: 0.5957 MB / 1.21 GB, free: 2.961 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-05/1.635, allocations: 8 kB / 1.21 GB, free: 2.953 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/1.636, allocations: 79.95 kB / 1.21 GB, free: 2.875 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008923/1.636, allocations: 1.196 MB / 1.211 GB, free: 1.637 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.636, allocations: 0 / 1.211 GB, free: 1.637 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.647, allocations: 5.625 MB / 1.217 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005177/1.652, allocations: 1.306 MB / 1.218 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003326/1.655, allocations: 59.98 kB / 1.218 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007188/1.663, allocations: 390.8 kB / 1.218 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/1.663, allocations: 157.8 kB / 1.219 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007267/1.664, allocations: 139.9 kB / 1.219 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01114/1.675, allocations: 4.207 MB / 1.223 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.32e-07/1.675, allocations: 0 / 1.223 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01595/1.691, allocations: 3.23 MB / 1.226 GB, free: 2.441 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.01253/1.704, allocations: 6.562 MB / 1.232 GB, free: 11.82 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.714, allocations: 6 MB / 1.238 GB, free: 6.023 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.714, allocations: 4.562 kB / 1.238 GB, free: 6.02 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/1.717, allocations: 1.591 MB / 1.24 GB, free: 4.473 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02309/1.74, allocations: 3.94 MB / 1.244 GB, free: 0.6016 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2156/1.956, allocations: 50.58 MB / 1.293 GB, free: 10.92 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006603/1.963, allocations: 4.515 MB / 1.298 GB, free: 6.383 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.01262/1.975, allocations: 2.855 MB / 1.3 GB, free: 3.527 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007434/1.983, allocations: 2.543 MB / 1.303 GB, free: 0.9883 MB / 0.8387 GB Notification: Performance of SimCode: time 1.203e-06/1.983, allocations: 0 / 1.303 GB, free: 0.9883 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7428/2.726, allocations: 182 MB / 1.481 GB, free: 333.9 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/2.726, allocations: 260.8 kB / 1.481 GB, free: 333.6 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/10.69, allocations: 3.094 kB / 1.481 GB, free: 333.6 MB / 0.9637 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)