Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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 1.496/1.496, allocations: 287.4 MB / 302.5 MB, free: 8.293 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.0008566/0.0008566, allocations: 170 kB / 371.1 MB, free: 10.84 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.169/1.169, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0006674/0.0006674, allocations: 97.22 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003376, allocations: 12.09 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.02828/0.1845, allocations: 41.19 MB / 1.019 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.1993, allocations: 12.19 MB / 1.031 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.2006, allocations: 35.81 kB / 1.031 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.2018, allocations: 417.3 kB / 1.031 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.2055, allocations: 1.54 MB / 1.033 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.208, allocations: 0.9513 MB / 1.034 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.2115, allocations: 3.666 MB / 1.037 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.2125, allocations: 0.8385 MB / 1.038 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.2141, allocations: 1.073 MB / 1.039 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008938/0.215, allocations: 0.84 MB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.2152, allocations: 48 kB / 1.04 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.2173, allocations: 1.127 MB / 1.041 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2175, allocations: 211 kB / 1.041 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.2177, allocations: 273.1 kB / 1.042 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.2193, allocations: 1.742 MB / 1.043 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2194, allocations: 0 / 1.043 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2194, allocations: 0 / 1.043 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.2194, allocations: 0 / 1.043 GB, free: 9.793 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002421/0.2218, allocations: 1.453 MB / 1.045 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2219, allocations: 12.03 kB / 1.045 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.222, allocations: 114.6 kB / 1.045 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.2222, allocations: 135.2 kB / 1.045 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.2243, allocations: 1.19 MB / 1.046 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.2243, allocations: 57.98 kB / 1.046 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2244, allocations: 75.91 kB / 1.046 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.2256, allocations: 0.7521 MB / 1.047 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2256, allocations: 11.98 kB / 1.047 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.2257, allocations: 31.92 kB / 1.047 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.2257, allocations: 20 kB / 1.047 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009676/0.2267, allocations: 0.5672 MB / 1.048 GB, free: 5.25 MB / 0.6667 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.004146/0.2308, allocations: 4.014 MB / 1.052 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.2317, allocations: 476.2 kB / 1.052 GB, free: 452 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.232, allocations: 223.7 kB / 1.052 GB, free: 228 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.2332, allocations: 1.523 MB / 1.054 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2332, allocations: 38.56 kB / 1.054 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 1.943e-06/0.2332, allocations: 0 / 1.054 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001207/0.2344, allocations: 0.6825 MB / 1.054 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2345, allocations: 55.41 kB / 1.054 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.2357, allocations: 0.9943 MB / 1.055 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2357, allocations: 33.7 kB / 1.055 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.2361, allocations: 488.6 kB / 1.056 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.2362, allocations: 157.7 kB / 1.056 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.2363, allocations: 12 kB / 1.056 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2364, allocations: 326 kB / 1.056 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.2367, allocations: 193 kB / 1.057 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.2371, allocations: 316.5 kB / 1.057 GB, free: 11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.2379, allocations: 0.5152 MB / 1.057 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2379, allocations: 0 / 1.057 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001031/0.239, allocations: 0.6548 MB / 1.058 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.2391, allocations: 191.2 kB / 1.058 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2391, allocations: 8 kB / 1.058 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2391, allocations: 4 kB / 1.058 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.2395, allocations: 131.7 kB / 1.058 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2396, allocations: 4 kB / 1.058 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.2402, allocations: 107.2 kB / 1.058 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.2403, allocations: 27.98 kB / 1.058 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.2403, allocations: 4 kB / 1.058 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008949/0.2412, allocations: 0.5296 MB / 1.059 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2412, allocations: 12.03 kB / 1.059 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.2412, allocations: 11.92 kB / 1.059 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.2416, allocations: 123.9 kB / 1.059 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2416, allocations: 15.88 kB / 1.059 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.2422, allocations: 91.23 kB / 1.059 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.2422, allocations: 31.98 kB / 1.059 GB, free: 8.441 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003451/0.2426, allocations: 340.9 kB / 1.06 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2427, allocations: 106.7 kB / 1.06 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.2443, allocations: 0.9798 MB / 1.061 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.2443, allocations: 15.94 kB / 1.061 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2443, allocations: 3.984 kB / 1.061 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009708/0.2453, allocations: 0.8454 MB / 1.061 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.248, allocations: 2.02 MB / 1.063 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.2481, allocations: 8.031 kB / 1.063 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.2485, allocations: 95.89 kB / 1.064 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.2485, allocations: 4 kB / 1.064 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.2485, allocations: 23.98 kB / 1.064 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2485, allocations: 4 kB / 1.064 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2485, allocations: 3.938 kB / 1.064 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2501, allocations: 1.218 MB / 1.065 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.2505, allocations: 307.4 kB / 1.065 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2506, allocations: 12 kB / 1.065 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.2512, allocations: 59.8 kB / 1.065 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.2513, allocations: 56.36 kB / 1.065 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.2513, allocations: 27.98 kB / 1.065 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009297/0.2523, allocations: 0.7148 MB / 1.066 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2523, allocations: 0 / 1.066 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001289/0.2536, allocations: 0.6007 MB / 1.067 GB, free: 0.7578 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3248/0.5784, allocations: 2.13 MB / 1.069 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.58, allocations: 0.9338 MB / 1.07 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.58, allocations: 0 / 1.07 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.5805, allocations: 409.8 kB / 1.07 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.5834, allocations: 0.5763 MB / 1.07 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.594, allocations: 6.475 MB / 1.077 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.5946, allocations: 1.06 MB / 1.078 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00108/0.5957, allocations: 290.5 kB / 1.078 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.5962, allocations: 442.5 kB / 1.079 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/0.5962, allocations: 0 / 1.079 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2292/0.8254, allocations: 35.79 MB / 1.113 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.8255, allocations: 224.4 kB / 1.114 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.581, allocations: 1.375 kB / 1.114 GB, free: 70.36 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)