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.791/1.791, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001296/0.001296, allocations: 191.1 kB / 371.8 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.568/1.568, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.0009151/0.0009151, allocations: 97.84 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 12.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05152/0.3099, allocations: 38.49 MB / 1.017 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.3318, allocations: 9.84 MB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.3346, allocations: 47.69 kB / 1.027 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.3381, allocations: 0.6179 MB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009927/0.3481, allocations: 1.951 MB / 1.029 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007366/0.3554, allocations: 1.537 MB / 1.031 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02204/0.3775, allocations: 12.04 MB / 1.042 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01526/0.3928, allocations: 6.411 MB / 1.049 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01519/0.4081, allocations: 4.574 MB / 1.053 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.4212, allocations: 3.679 MB / 1.057 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002936/0.4242, allocations: 288 kB / 1.057 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009045/0.4333, allocations: 0.9911 MB / 1.058 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004241/0.4376, allocations: 1.296 MB / 1.059 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004355/0.442, allocations: 1.565 MB / 1.061 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5348/0.9768, allocations: 10.09 MB / 1.071 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9769, allocations: 0 / 1.071 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.946e-06/0.9769, allocations: 0 / 1.071 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000553/0.9774, allocations: 1.531 kB / 1.071 GB, free: 24.45 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.01976/0.9972, allocations: 6.614 MB / 1.077 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.9973, allocations: 10.38 kB / 1.077 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0039/1.001, allocations: 0.7188 MB / 1.078 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/1.006, allocations: 0.844 MB / 1.079 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/1.026, allocations: 6.83 MB / 1.085 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000658/1.026, allocations: 411.4 kB / 1.086 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002941/1.029, allocations: 0.5107 MB / 1.086 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02336/1.053, allocations: 7.59 MB / 1.094 GB, free: 19.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/1.053, allocations: 23.59 kB / 1.094 GB, free: 19.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00139/1.054, allocations: 225.8 kB / 1.094 GB, free: 19.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002631/1.055, allocations: 168.2 kB / 1.094 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/1.07, allocations: 6.038 MB / 1.1 GB, free: 19.43 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.04855/1.118, allocations: 29.61 MB / 1.129 GB, free: 21.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006253/1.125, allocations: 3.597 MB / 1.132 GB, free: 20.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.126, allocations: 1.002 MB / 1.133 GB, free: 19.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.693e-05/1.126, allocations: 76.47 kB / 1.133 GB, free: 19.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.478e-06/1.126, allocations: 1.594 kB / 1.133 GB, free: 19.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.009837/1.136, allocations: 4.66 MB / 1.138 GB, free: 18.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.136, allocations: 78.81 kB / 1.138 GB, free: 18.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/1.147, allocations: 6.57 MB / 1.144 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009171/1.147, allocations: 84.58 kB / 1.145 GB, free: 14.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003057/1.151, allocations: 2.945 MB / 1.147 GB, free: 12.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/1.152, allocations: 0.9042 MB / 1.148 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.152, allocations: 71 kB / 1.148 GB, free: 11.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002701/1.153, allocations: 445.5 kB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/1.155, allocations: 1.615 MB / 1.15 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/1.159, allocations: 2.65 MB / 1.153 GB, free: 7.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/1.162, allocations: 2.204 MB / 1.155 GB, free: 6.711 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.162, allocations: 11.81 kB / 1.155 GB, free: 6.711 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009095/1.171, allocations: 4.915 MB / 1.16 GB, free: 4.379 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.006527/1.178, allocations: 15.03 MB / 1.175 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.292e-05/1.178, allocations: 33.59 kB / 1.175 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.583e-05/1.178, allocations: 51.66 kB / 1.175 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/1.182, allocations: 0.8795 MB / 1.176 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009366/1.183, allocations: 1.249 MB / 1.177 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/1.19, allocations: 0.6635 MB / 1.177 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006787/1.191, allocations: 160 kB / 1.178 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.191, allocations: 0.9375 kB / 1.178 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007404/1.199, allocations: 4.414 MB / 1.182 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/1.199, allocations: 32 kB / 1.182 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.333e-05/1.199, allocations: 56 kB / 1.182 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/1.202, allocations: 0.8668 MB / 1.183 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.444e-05/1.202, allocations: 74.7 kB / 1.183 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005797/1.208, allocations: 0.5931 MB / 1.183 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/1.208, allocations: 152 kB / 1.184 GB, free: 12.13 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.00538/1.213, allocations: 2.501 MB / 1.186 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/1.216, allocations: 0.5596 MB / 1.187 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007175/1.223, allocations: 3.878 MB / 1.19 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/1.223, allocations: 27.98 kB / 1.19 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.223, allocations: 3.953 kB / 1.19 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004251/1.228, allocations: 2.974 MB / 1.193 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.248, allocations: 9.877 MB / 1.203 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.249, allocations: 0 / 1.203 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00315/1.252, allocations: 0.5566 MB / 1.204 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/1.252, allocations: 11.94 kB / 1.204 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/1.252, allocations: 79.95 kB / 1.204 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000747/1.253, allocations: 1.191 MB / 1.205 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.253, allocations: 4 kB / 1.205 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009633/1.262, allocations: 5.729 MB / 1.21 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005649/1.268, allocations: 1.427 MB / 1.212 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/1.27, allocations: 59.98 kB / 1.212 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004928/1.275, allocations: 393.1 kB / 1.212 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/1.275, allocations: 156.4 kB / 1.212 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000369/1.276, allocations: 147.9 kB / 1.212 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.008218/1.284, allocations: 4.679 MB / 1.217 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.553e-06/1.284, allocations: 0 / 1.217 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01366/1.298, allocations: 3.277 MB / 1.22 GB, free: 6.387 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.01353/1.311, allocations: 6.829 MB / 1.227 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.324, allocations: 5.976 MB / 1.233 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/1.324, allocations: 4.562 kB / 1.233 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003148/1.327, allocations: 1.595 MB / 1.234 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02273/1.35, allocations: 3.89 MB / 1.238 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0574/1.407, allocations: 41.51 MB / 1.279 GB, free: 9.578 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008006/1.415, allocations: 4.638 MB / 1.283 GB, free: 4.918 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01284/1.428, allocations: 2.891 MB / 1.286 GB, free: 2.027 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006255/1.434, allocations: 2.548 MB / 1.288 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of SimCode: time 1.172e-06/1.434, allocations: 0 / 1.288 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.937/2.371, allocations: 181.9 MB / 1.466 GB, free: 330.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/2.372, allocations: 246.9 kB / 1.466 GB, free: 330.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/10.06, allocations: 1.219 kB / 1.466 GB, free: 330.6 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)