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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 62.62 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2409, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09166/0.3326, allocations: 115.2 MB / 1.165 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03017/0.3628, allocations: 26.57 MB / 1.191 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/0.3662, allocations: 111.4 kB / 1.191 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.369, allocations: 1.153 MB / 1.193 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007668/0.3768, allocations: 3.42 MB / 1.196 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.3818, allocations: 2.333 MB / 1.198 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006291/0.3881, allocations: 6.182 MB / 1.204 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.3905, allocations: 1.929 MB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.3952, allocations: 2.636 MB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/0.3975, allocations: 1.766 MB / 1.21 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004436/0.3979, allocations: 223.9 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.4021, allocations: 2.34 MB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005549/0.4027, allocations: 0.5409 MB / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.4042, allocations: 1.283 MB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.4095, allocations: 4.067 MB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4095, allocations: 0 / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4095, allocations: 0 / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.078e-05/0.4096, allocations: 0 / 1.219 GB, free: 14.02 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.005553/0.4151, allocations: 2.826 MB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4152, allocations: 8.625 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.4154, allocations: 202.6 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/0.416, allocations: 253 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.4195, allocations: 2.064 MB / 1.224 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.4196, allocations: 106.7 kB / 1.224 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.4198, allocations: 140 kB / 1.224 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.4219, allocations: 1.454 MB / 1.226 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.422, allocations: 7.938 kB / 1.226 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.4221, allocations: 60 kB / 1.226 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.4221, allocations: 32 kB / 1.226 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4239, allocations: 1.025 MB / 1.227 GB, free: 5.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.007286/0.4312, allocations: 8.182 MB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4325, allocations: 0.8411 MB / 1.235 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.4331, allocations: 374.8 kB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.4348, allocations: 2.811 MB / 1.239 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4349, allocations: 47.22 kB / 1.239 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.415e-06/0.4349, allocations: 0 / 1.239 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.001971/0.4368, allocations: 1.121 MB / 1.24 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4369, allocations: 64 kB / 1.24 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.4386, allocations: 1.629 MB / 1.241 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.4387, allocations: 41.7 kB / 1.241 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.4393, allocations: 0.9277 MB / 1.242 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.4395, allocations: 303.7 kB / 1.243 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.4398, allocations: 234.6 kB / 1.243 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.4399, allocations: 341.9 kB / 1.243 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.4404, allocations: 330.7 kB / 1.243 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.4412, allocations: 0.7072 MB / 1.244 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.4426, allocations: 1.085 MB / 1.245 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.4426, allocations: 4 kB / 1.245 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.4223/0.8649, allocations: 1.246 MB / 1.246 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.8649, allocations: 11.81 kB / 1.246 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/0.865, allocations: 21.67 kB / 1.246 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.865, allocations: 18.16 kB / 1.246 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.8659, allocations: 264.2 kB / 1.247 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.8659, allocations: 23.38 kB / 1.247 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.8671, allocations: 133.3 kB / 1.247 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.8672, allocations: 64.17 kB / 1.247 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/0.8683, allocations: 0.6245 MB / 1.248 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000706/0.869, allocations: 0.7034 MB / 1.248 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/0.8703, allocations: 1.082 MB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.015e-06/0.8704, allocations: 3.5 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001926/0.8723, allocations: 1.24 MB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.8723, allocations: 15.19 kB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.8723, allocations: 16.72 kB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8724, allocations: 18.48 kB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.873, allocations: 263.9 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.8731, allocations: 26.66 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.8739, allocations: 105.1 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.874, allocations: 64.2 kB / 1.251 GB, free: 185.7 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.0002318/0.8743, allocations: 258.3 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.8745, allocations: 189.9 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.877, allocations: 1.739 MB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.877, allocations: 21.17 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.877, allocations: 0 / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/0.8783, allocations: 1.146 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.8825, allocations: 3.487 MB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.8826, allocations: 9.797 kB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.8832, allocations: 204.1 kB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.8832, allocations: 10.44 kB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.8833, allocations: 44.53 kB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.8833, allocations: 17.59 kB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.8833, allocations: 12 kB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.8861, allocations: 2.23 MB / 1.26 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.8867, allocations: 439.2 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.887, allocations: 34.47 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.8877, allocations: 43.19 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.8879, allocations: 120.6 kB / 1.261 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.8881, allocations: 63.17 kB / 1.261 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00166/0.8897, allocations: 1.085 MB / 1.262 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8897, allocations: 0 / 1.262 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002898/0.8926, allocations: 1.135 MB / 1.263 GB, free: 183.5 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.004834/0.8975, allocations: 3.474 MB / 1.266 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.9008, allocations: 1.898 MB / 1.268 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9009, allocations: 1.469 kB / 1.268 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.9019, allocations: 0.8261 MB / 1.269 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.9058, allocations: 0.9684 MB / 1.27 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.9215, allocations: 13.83 MB / 1.283 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/0.9224, allocations: 1.436 MB / 1.285 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002001/0.9244, allocations: 0.5345 MB / 1.285 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.9252, allocations: 0.8487 MB / 1.286 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.9253, allocations: 1.062 kB / 1.286 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.376/4.301, allocations: 58.42 MB / 1.343 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.95/14.25, allocations: 10.08 kB / 1.343 GB, free: 122.2 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)