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.65/2.65, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001494/0.001494, allocations: 184.8 kB / 360.6 MB, free: 7.27 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.083/2.083, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 100.5 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.476e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7935, allocations: 115.2 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/2.108, allocations: 430.6 MB / 1.384 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/2.108, allocations: 92.94 kB / 1.384 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.014/6.122, allocations: 0.7601 GB / 2.144 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.805e-06/6.122, allocations: 0 / 2.144 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001442/6.124, allocations: 186 kB / 2.144 GB, free: 134.6 MB / 0.9323 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.02288/6.147, allocations: 5.628 MB / 2.15 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/6.147, allocations: 11.75 kB / 2.15 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006551/6.153, allocations: 0.8313 MB / 2.151 GB, free: 131.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07548/6.229, allocations: 23.1 MB / 2.173 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/6.23, allocations: 245.1 kB / 2.173 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/6.232, allocations: 308.1 kB / 2.174 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01645/6.248, allocations: 5.018 MB / 2.179 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/6.27, allocations: 6.266 MB / 2.185 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/6.27, allocations: 22.97 kB / 2.185 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/6.271, allocations: 20.47 kB / 2.185 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/6.271, allocations: 163.8 kB / 2.185 GB, free: 119.5 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.05649/6.328, allocations: 28.7 MB / 2.213 GB, free: 96.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007982/6.336, allocations: 3.217 MB / 2.216 GB, free: 94.89 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/6.339, allocations: 1.631 MB / 2.218 GB, free: 94.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/6.341, allocations: 0.9715 MB / 2.219 GB, free: 92.86 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.768e-05/6.341, allocations: 77.11 kB / 2.219 GB, free: 92.77 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 5.451e-06/6.341, allocations: 0 / 2.219 GB, free: 92.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.009181/6.35, allocations: 3.035 MB / 2.222 GB, free: 89.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/6.35, allocations: 85.41 kB / 2.222 GB, free: 89.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/6.361, allocations: 4.648 MB / 2.226 GB, free: 84.99 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009056/6.362, allocations: 29.7 kB / 2.226 GB, free: 84.95 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003439/6.365, allocations: 2.919 MB / 2.229 GB, free: 82 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001701/6.367, allocations: 0.8701 MB / 2.23 GB, free: 81.12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/6.367, allocations: 3.609 kB / 2.23 GB, free: 81.12 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002708/6.368, allocations: 449.2 kB / 2.23 GB, free: 80.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/6.371, allocations: 1.393 MB / 2.232 GB, free: 79.28 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/6.375, allocations: 2.513 MB / 2.234 GB, free: 76.29 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/6.38, allocations: 2.103 MB / 2.236 GB, free: 74.17 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/6.38, allocations: 8 kB / 2.236 GB, free: 74.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01249/6.393, allocations: 4.335 MB / 2.241 GB, free: 69.78 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003585/6.397, allocations: 16.53 MB / 2.257 GB, free: 52.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/6.397, allocations: 36 kB / 2.257 GB, free: 51.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/6.397, allocations: 60 kB / 2.257 GB, free: 51.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006681/6.404, allocations: 0.8776 MB / 2.258 GB, free: 51.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007465/6.404, allocations: 1.258 MB / 2.259 GB, free: 49.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007927/6.412, allocations: 439.9 kB / 2.259 GB, free: 49.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009335/6.413, allocations: 168 kB / 2.259 GB, free: 49.15 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/6.413, allocations: 4 kB / 2.259 GB, free: 49.14 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0104/6.424, allocations: 3.832 MB / 2.263 GB, free: 45.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/6.424, allocations: 40.06 kB / 2.263 GB, free: 45.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.399e-05/6.424, allocations: 60 kB / 2.263 GB, free: 45.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00614/6.43, allocations: 0.8581 MB / 2.264 GB, free: 44.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.703e-05/6.43, allocations: 79.72 kB / 2.264 GB, free: 44.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007481/6.438, allocations: 380.7 kB / 2.265 GB, free: 43.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007483/6.439, allocations: 168 kB / 2.265 GB, free: 43.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.001181/6.44, allocations: 219.4 kB / 2.265 GB, free: 43.48 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009207/6.449, allocations: 3.035 MB / 2.268 GB, free: 40.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00257/6.452, allocations: 490.1 kB / 2.268 GB, free: 39.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/6.462, allocations: 3.45 MB / 2.272 GB, free: 36.45 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.81e-05/6.462, allocations: 28 kB / 2.272 GB, free: 36.43 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/6.462, allocations: 0 / 2.272 GB, free: 36.43 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007307/6.47, allocations: 2.682 MB / 2.274 GB, free: 33.69 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02607/6.496, allocations: 8.607 MB / 2.283 GB, free: 25.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/6.496, allocations: 0 / 2.283 GB, free: 25.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004847/6.501, allocations: 0.5345 MB / 2.283 GB, free: 24.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.277e-05/6.501, allocations: 12 kB / 2.283 GB, free: 24.49 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004935/6.501, allocations: 47.95 kB / 2.283 GB, free: 24.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005689/6.502, allocations: 1.184 MB / 2.284 GB, free: 23.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/6.502, allocations: 0 / 2.284 GB, free: 23.21 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/6.515, allocations: 5.374 MB / 2.29 GB, free: 17.72 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005547/6.521, allocations: 1.259 MB / 2.291 GB, free: 16.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002083/6.523, allocations: 31.94 kB / 2.291 GB, free: 16.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007073/6.53, allocations: 219.1 kB / 2.291 GB, free: 16.19 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006834/6.531, allocations: 149.8 kB / 2.291 GB, free: 16.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005835/6.531, allocations: 143.9 kB / 2.291 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.009272/6.541, allocations: 3.587 MB / 2.295 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.62e-07/6.541, allocations: 0 / 2.295 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01698/6.558, allocations: 3.188 MB / 2.298 GB, free: 9.133 MB / 0.9323 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 () * 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.01668/6.574, allocations: 6.647 MB / 2.305 GB, free: 2.438 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01548/6.59, allocations: 5.474 MB / 2.31 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/6.59, allocations: 4.562 kB / 2.31 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004056/6.594, allocations: 1.479 MB / 2.311 GB, free: 11.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0274/6.622, allocations: 3.185 MB / 2.314 GB, free: 8.414 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7488/7.37, allocations: 13.15 MB / 2.327 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009618/7.38, allocations: 4.639 MB / 2.332 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03074/7.411, allocations: 4.422 MB / 2.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007008/7.418, allocations: 2.421 MB / 2.339 GB, free: 141.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.733e-06/7.418, allocations: 0 / 2.339 GB, free: 141.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3732/7.791, allocations: 158.1 MB / 2.493 GB, free: 125.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/7.792, allocations: 174.4 kB / 2.493 GB, free: 125 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/16.72, allocations: 3.609 kB / 2.493 GB, free: 125 MB / 0.948 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)