Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_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.001299/0.001299, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001379/0.001379, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.7 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2584, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1194/0.3778, allocations: 114.2 MB / 1.164 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03196/0.4098, allocations: 26.4 MB / 1.19 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.4135, allocations: 99.44 kB / 1.19 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.4166, allocations: 0.9909 MB / 1.191 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008182/0.4248, allocations: 3.18 MB / 1.194 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005453/0.4303, allocations: 2.139 MB / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007399/0.4377, allocations: 6.21 MB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.4405, allocations: 1.906 MB / 1.204 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00707/0.4476, allocations: 2.654 MB / 1.206 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.4512, allocations: 1.816 MB / 1.208 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.452, allocations: 223.9 kB / 1.208 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00501/0.457, allocations: 2.374 MB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.4578, allocations: 0.537 MB / 1.211 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.4599, allocations: 1.291 MB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008767/0.4686, allocations: 4.078 MB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4687, allocations: 0 / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4687, allocations: 0 / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001169/0.4688, allocations: 0 / 1.217 GB, free: 64 kB / 0.9669 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.006423/0.4752, allocations: 2.832 MB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4753, allocations: 12.56 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003364/0.4756, allocations: 202.6 kB / 1.219 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.4764, allocations: 261 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.4805, allocations: 2.087 MB / 1.222 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.4806, allocations: 106.7 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.4809, allocations: 140 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.4833, allocations: 1.454 MB / 1.223 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.4834, allocations: 7.906 kB / 1.223 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.4835, allocations: 52 kB / 1.223 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.4835, allocations: 36 kB / 1.224 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.4854, allocations: 1.033 MB / 1.225 GB, free: 7.648 MB / 0.9825 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.007796/0.4932, allocations: 8.12 MB / 1.232 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.4946, allocations: 0.845 MB / 1.233 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.4951, allocations: 376.5 kB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.4971, allocations: 2.803 MB / 1.236 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4971, allocations: 51.2 kB / 1.236 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.485e-06/0.4972, allocations: 0 / 1.236 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.002053/0.4992, allocations: 1.121 MB / 1.238 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.4993, allocations: 67.94 kB / 1.238 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.5012, allocations: 1.606 MB / 1.239 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.5013, allocations: 41.7 kB / 1.239 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/0.5019, allocations: 0.9238 MB / 1.24 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.5022, allocations: 307.6 kB / 1.24 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.5025, allocations: 230.7 kB / 1.241 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5026, allocations: 345.9 kB / 1.241 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.5032, allocations: 329.9 kB / 1.241 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/0.504, allocations: 0.704 MB / 1.242 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.5054, allocations: 1.085 MB / 1.243 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5054, allocations: 7.938 kB / 1.243 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001996/0.5074, allocations: 1.253 MB / 1.244 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5075, allocations: 13.88 kB / 1.244 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.5075, allocations: 20.12 kB / 1.244 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.5075, allocations: 19.94 kB / 1.244 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.5083, allocations: 259.5 kB / 1.245 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.5084, allocations: 31.86 kB / 1.245 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.5094, allocations: 182.6 kB / 1.245 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.5096, allocations: 63.97 kB / 1.245 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009299/0.5105, allocations: 0.6236 MB / 1.245 GB, free: 472 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4621/0.9726, allocations: 0.6966 MB / 1.246 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001521/0.9742, allocations: 1.078 MB / 1.247 GB, free: 186 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.255e-06/0.9742, allocations: 7.25 kB / 1.247 GB, free: 186 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002274/0.9765, allocations: 1.238 MB / 1.248 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9765, allocations: 10.25 kB / 1.248 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.9765, allocations: 20.53 kB / 1.248 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9766, allocations: 18.55 kB / 1.248 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/0.9774, allocations: 259.7 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.9774, allocations: 27.5 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.9786, allocations: 148.8 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.9788, allocations: 62.95 kB / 1.249 GB, free: 185.9 MB / 0.9981 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.0002624/0.979, allocations: 254.9 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.9793, allocations: 189.6 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.9819, allocations: 1.751 MB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.9819, allocations: 17.98 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9819, allocations: 0 / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.9833, allocations: 1.148 MB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.9878, allocations: 3.484 MB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.9878, allocations: 12.94 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.9885, allocations: 200.8 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.9885, allocations: 11.89 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.9886, allocations: 40.17 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.9886, allocations: 16.42 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9886, allocations: 7.906 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.9913, allocations: 2.233 MB / 1.258 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.992, allocations: 441.4 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.9922, allocations: 32.84 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.9932, allocations: 99.23 kB / 1.259 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.9934, allocations: 123.9 kB / 1.259 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/0.9935, allocations: 61.05 kB / 1.259 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001625/0.9951, allocations: 1.075 MB / 1.26 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9951, allocations: 3.828 kB / 1.26 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003235/0.9984, allocations: 1.127 MB / 1.261 GB, free: 183.7 MB / 0.9981 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.005366/1.004, allocations: 3.455 MB / 1.264 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004543/1.008, allocations: 1.898 MB / 1.266 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.008, allocations: 1.125 kB / 1.266 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.01, allocations: 0.8243 MB / 1.267 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.014, allocations: 0.968 MB / 1.268 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.035, allocations: 14.5 MB / 1.282 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009264/1.036, allocations: 1.436 MB / 1.283 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002102/1.038, allocations: 0.5426 MB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008559/1.039, allocations: 0.8494 MB / 1.285 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.039, allocations: 0 / 1.285 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.025/4.064, allocations: 57.76 MB / 1.341 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/4.064, allocations: 254.7 kB / 1.341 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.649/9.713, allocations: 0 / 1.341 GB, free: 123.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)