Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00448/0.00448, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 195.8 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6747, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1036/0.7784, allocations: 115.2 MB / 1.2 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03691/0.8153, allocations: 26.56 MB / 1.226 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.8198, allocations: 114.7 kB / 1.226 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.8228, allocations: 1.159 MB / 1.227 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008628/0.8314, allocations: 3.411 MB / 1.23 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.8371, allocations: 2.35 MB / 1.233 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007423/0.8445, allocations: 6.193 MB / 1.239 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.8469, allocations: 1.93 MB / 1.241 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.8519, allocations: 2.647 MB / 1.243 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.8539, allocations: 1.774 MB / 1.245 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.8541, allocations: 220 kB / 1.245 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.8584, allocations: 2.351 MB / 1.247 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.8588, allocations: 0.537 MB / 1.248 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.86, allocations: 1.283 MB / 1.249 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004607/0.8646, allocations: 4.105 MB / 1.253 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8646, allocations: 4 kB / 1.253 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8646, allocations: 0 / 1.253 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.8647, allocations: 0 / 1.253 GB, free: 4.043 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004589/0.8692, allocations: 2.814 MB / 1.256 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.8693, allocations: 15.97 kB / 1.256 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.8695, allocations: 202.6 kB / 1.256 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.8701, allocations: 257 kB / 1.256 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.8738, allocations: 2.142 MB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.8738, allocations: 102.7 kB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.874, allocations: 136 kB / 1.259 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.8761, allocations: 1.45 MB / 1.26 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.8761, allocations: 15.84 kB / 1.26 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.8763, allocations: 56 kB / 1.26 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.8763, allocations: 39.98 kB / 1.26 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.878, allocations: 1.021 MB / 1.261 GB, free: 11.6 MB / 0.9981 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.007343/0.8854, allocations: 8.12 MB / 1.269 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.8868, allocations: 0.8295 MB / 1.27 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.8873, allocations: 383.8 kB / 1.27 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.8892, allocations: 2.803 MB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.8892, allocations: 47.16 kB / 1.273 GB, free: 14.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.655e-06/0.8892, allocations: 4 kB / 1.273 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.002076/0.8913, allocations: 1.124 MB / 1.274 GB, free: 12.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.8913, allocations: 64 kB / 1.274 GB, free: 12.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.8932, allocations: 1.621 MB / 1.276 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.8932, allocations: 41.7 kB / 1.276 GB, free: 11.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/0.8939, allocations: 0.9238 MB / 1.277 GB, free: 10.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.8941, allocations: 315.5 kB / 1.277 GB, free: 9.895 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.8944, allocations: 230.7 kB / 1.277 GB, free: 9.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8945, allocations: 345.9 kB / 1.278 GB, free: 9.316 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.8951, allocations: 325.9 kB / 1.278 GB, free: 8.996 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/0.8959, allocations: 0.7157 MB / 1.279 GB, free: 8.113 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.8973, allocations: 1.085 MB / 1.28 GB, free: 6.867 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8973, allocations: 4 kB / 1.28 GB, free: 6.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001991/0.8993, allocations: 1.249 MB / 1.281 GB, free: 5.605 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.8993, allocations: 14.33 kB / 1.281 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.8994, allocations: 19.94 kB / 1.281 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.8994, allocations: 19.94 kB / 1.281 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.9002, allocations: 272.1 kB / 1.281 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.9002, allocations: 23.92 kB / 1.281 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.9011, allocations: 134.6 kB / 1.282 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/0.9012, allocations: 63.97 kB / 1.282 GB, free: 5.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009596/0.9022, allocations: 0.6197 MB / 1.282 GB, free: 4.445 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008243/0.903, allocations: 0.7071 MB / 1.283 GB, free: 3.566 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/0.9045, allocations: 1.077 MB / 1.284 GB, free: 2.332 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.9045, allocations: 4 kB / 1.284 GB, free: 2.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002027/0.9065, allocations: 1.241 MB / 1.285 GB, free: 1.082 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9066, allocations: 8.906 kB / 1.285 GB, free: 1.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.9066, allocations: 16.16 kB / 1.285 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9066, allocations: 24 kB / 1.285 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/0.9074, allocations: 259.5 kB / 1.285 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.9074, allocations: 31.84 kB / 1.285 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.9083, allocations: 99.25 kB / 1.286 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.9084, allocations: 63.97 kB / 1.286 GB, free: 0.5898 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.9087, allocations: 259.8 kB / 1.286 GB, free: 336 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.909, allocations: 193.7 kB / 1.286 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/0.9118, allocations: 1.736 MB / 1.288 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/0.9118, allocations: 27.92 kB / 1.288 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9119, allocations: 0 / 1.288 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001628/0.9135, allocations: 1.142 MB / 1.289 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.9185, allocations: 3.482 MB / 1.292 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/0.9185, allocations: 11.98 kB / 1.292 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.9192, allocations: 200.4 kB / 1.292 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.9192, allocations: 12 kB / 1.292 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.9193, allocations: 43.97 kB / 1.293 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/0.9193, allocations: 15.94 kB / 1.293 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.9193, allocations: 11.94 kB / 1.293 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.9223, allocations: 2.226 MB / 1.295 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.9229, allocations: 434.1 kB / 1.295 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.9231, allocations: 35.92 kB / 1.295 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.9239, allocations: 47.98 kB / 1.295 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.9241, allocations: 124.6 kB / 1.295 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.9242, allocations: 67.95 kB / 1.295 GB, free: 6.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001367/0.9256, allocations: 1.087 MB / 1.296 GB, free: 5.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9256, allocations: 3.938 kB / 1.296 GB, free: 5.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002553/0.9281, allocations: 1.131 MB / 1.298 GB, free: 3.957 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004479/0.9326, allocations: 3.477 MB / 1.301 GB, free: 396 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.9353, allocations: 1.813 MB / 1.303 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9353, allocations: 4 kB / 1.303 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.9364, allocations: 0.8254 MB / 1.304 GB, free: 13.67 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/0.9402, allocations: 0.9665 MB / 1.305 GB, free: 12.71 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.9568, allocations: 12.47 MB / 1.317 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/0.9577, allocations: 1.436 MB / 1.318 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001607/0.9593, allocations: 0.546 MB / 1.319 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009334/0.9603, allocations: 0.8506 MB / 1.319 GB, free: 12.72 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.9603, allocations: 0 / 1.319 GB, free: 12.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.006/2.967, allocations: 58.76 MB / 1.377 GB, free: 2.645 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/16.54, allocations: 21.66 kB / 1.377 GB, free: 2.629 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)