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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001325/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001394/0.001394, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.84 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2771, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1008/0.3779, allocations: 114.4 MB / 1.164 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03314/0.4111, allocations: 26.69 MB / 1.19 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004678/0.4158, allocations: 103.4 kB / 1.19 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.4197, allocations: 0.9323 MB / 1.191 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009776/0.4295, allocations: 3.152 MB / 1.194 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005942/0.4355, allocations: 2.092 MB / 1.196 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009037/0.4445, allocations: 8.156 MB / 1.204 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.4471, allocations: 1.587 MB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004926/0.4521, allocations: 2.31 MB / 1.208 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.4549, allocations: 1.769 MB / 1.21 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003933/0.4553, allocations: 112 kB / 1.21 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/0.4601, allocations: 2.144 MB / 1.212 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.4606, allocations: 445.9 kB / 1.212 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.4622, allocations: 1.166 MB / 1.213 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005865/0.4681, allocations: 4.004 MB / 1.217 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4681, allocations: 0 / 1.217 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4681, allocations: 0 / 1.217 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.4682, allocations: 0 / 1.217 GB, free: 14.54 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.005537/0.4737, allocations: 2.826 MB / 1.22 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4738, allocations: 11.97 kB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.474, allocations: 206.5 kB / 1.22 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/0.4747, allocations: 253 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.4786, allocations: 2.099 MB / 1.223 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.4787, allocations: 102.7 kB / 1.223 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.4789, allocations: 140 kB / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.4812, allocations: 1.458 MB / 1.224 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.4813, allocations: 7.906 kB / 1.224 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.4814, allocations: 56 kB / 1.224 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.4814, allocations: 36 kB / 1.224 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.4833, allocations: 1.021 MB / 1.225 GB, free: 6.129 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.008631/0.4919, allocations: 8.12 MB / 1.233 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.4934, allocations: 0.8444 MB / 1.234 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.4939, allocations: 380.4 kB / 1.234 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002/0.496, allocations: 2.799 MB / 1.237 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.496, allocations: 47.22 kB / 1.237 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.427e-06/0.496, allocations: 0 / 1.237 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.002393/0.4984, allocations: 1.132 MB / 1.238 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.4985, allocations: 67.94 kB / 1.238 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.5006, allocations: 1.602 MB / 1.24 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/0.5008, allocations: 49.69 kB / 1.24 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006762/0.5014, allocations: 0.9199 MB / 1.241 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.5017, allocations: 311.6 kB / 1.241 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.502, allocations: 218.8 kB / 1.241 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5021, allocations: 353.9 kB / 1.242 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.5027, allocations: 329.9 kB / 1.242 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008455/0.5036, allocations: 0.7072 MB / 1.243 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.5051, allocations: 1.085 MB / 1.244 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5051, allocations: 4 kB / 1.244 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00232/0.5074, allocations: 1.249 MB / 1.245 GB, free: 144 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5075, allocations: 12 kB / 1.245 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.5075, allocations: 20.77 kB / 1.245 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.5075, allocations: 16 kB / 1.245 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.469/0.9766, allocations: 262 kB / 1.245 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.106e-05/0.9766, allocations: 22.34 kB / 1.245 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.9783, allocations: 179.2 kB / 1.246 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.9785, allocations: 67.02 kB / 1.246 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001409/0.9799, allocations: 0.6266 MB / 1.246 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008011/0.9807, allocations: 0.7048 MB / 1.247 GB, free: 186 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001404/0.9822, allocations: 1.079 MB / 1.248 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.886e-06/0.9822, allocations: 3.969 kB / 1.248 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00219/0.9844, allocations: 1.247 MB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9844, allocations: 13.62 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.9844, allocations: 15.06 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.9844, allocations: 18.97 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.9852, allocations: 261.8 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.9852, allocations: 24.22 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.9862, allocations: 140.4 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.9863, allocations: 69.69 kB / 1.25 GB, free: 185.5 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.0002537/0.9866, allocations: 254.9 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.9869, allocations: 198.1 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.9895, allocations: 1.741 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.9895, allocations: 21.05 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9895, allocations: 3.938 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.9909, allocations: 1.147 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/0.9965, allocations: 3.475 MB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/0.9966, allocations: 12.73 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/0.9973, allocations: 201.4 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.9973, allocations: 15.38 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.9974, allocations: 43.42 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/0.9974, allocations: 20.3 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.9974, allocations: 10.36 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/1.001, allocations: 2.218 MB / 1.259 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007812/1.002, allocations: 445.2 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/1.002, allocations: 36.95 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/1.003, allocations: 93.64 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.003, allocations: 120.6 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.003, allocations: 60.05 kB / 1.26 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001758/1.005, allocations: 1.077 MB / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.005, allocations: 0 / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003176/1.008, allocations: 1.128 MB / 1.262 GB, free: 183.2 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.005616/1.014, allocations: 3.463 MB / 1.265 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003047/1.017, allocations: 1.799 MB / 1.267 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.017, allocations: 1.344 kB / 1.267 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/1.018, allocations: 0.8229 MB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.022, allocations: 0.9157 MB / 1.269 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.046, allocations: 14.5 MB / 1.283 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009965/1.047, allocations: 1.429 MB / 1.284 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002315/1.05, allocations: 0.5438 MB / 1.285 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009775/1.051, allocations: 0.8473 MB / 1.285 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.232e-06/1.051, allocations: 0 / 1.285 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06885/1.12, allocations: 56.29 MB / 1.34 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.12, allocations: 249.4 kB / 1.341 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.396, 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)