Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_10_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.0008/0.0008001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00515/0.00515, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.245/2.245, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 15.98 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.489, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09708/0.5861, allocations: 112.6 MB / 1.133 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02926/0.6154, allocations: 26.39 MB / 1.159 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/0.6187, allocations: 99.38 kB / 1.159 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.6212, allocations: 0.9245 MB / 1.16 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007531/0.6288, allocations: 3.159 MB / 1.163 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004833/0.6336, allocations: 2.093 MB / 1.165 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007823/0.6415, allocations: 8.161 MB / 1.173 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.6437, allocations: 1.553 MB / 1.174 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.6475, allocations: 2.252 MB / 1.177 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.6493, allocations: 1.715 MB / 1.178 GB, free: 392 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.6495, allocations: 92 kB / 1.178 GB, free: 300 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.6529, allocations: 2.132 MB / 1.181 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003353/0.6533, allocations: 414 kB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009487/0.6542, allocations: 1.16 MB / 1.182 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.6577, allocations: 3.925 MB / 1.186 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.6577, allocations: 0 / 1.186 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6577, allocations: 0 / 1.186 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.6578, allocations: 4 kB / 1.186 GB, free: 8.637 MB / 0.9356 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.00398/0.6617, allocations: 2.425 MB / 1.188 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6618, allocations: 8.031 kB / 1.188 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.662, allocations: 198.6 kB / 1.188 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.6624, allocations: 261 kB / 1.189 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.6657, allocations: 2.095 MB / 1.191 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/0.6658, allocations: 106.7 kB / 1.191 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.6659, allocations: 136 kB / 1.191 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.668, allocations: 1.461 MB / 1.192 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.668, allocations: 4 kB / 1.192 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.6682, allocations: 55.98 kB / 1.192 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.6682, allocations: 47.92 kB / 1.192 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.6699, allocations: 1.033 MB / 1.194 GB, free: 0.6133 MB / 0.9356 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.006998/0.6769, allocations: 8.132 MB / 1.201 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.6782, allocations: 0.8368 MB / 1.202 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.6787, allocations: 381 kB / 1.203 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.6805, allocations: 2.807 MB / 1.205 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6805, allocations: 39.22 kB / 1.205 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 2.064e-06/0.6806, allocations: 0 / 1.205 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.001835/0.6824, allocations: 1.152 MB / 1.207 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.6824, allocations: 64 kB / 1.207 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.6842, allocations: 1.602 MB / 1.208 GB, free: 192 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.6843, allocations: 45.7 kB / 1.208 GB, free: 140 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/0.6849, allocations: 0.9316 MB / 1.209 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.6852, allocations: 303.5 kB / 1.209 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.6853, allocations: 97.66 kB / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6854, allocations: 346.7 kB / 1.21 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.6859, allocations: 322.4 kB / 1.21 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.6867, allocations: 0.7111 MB / 1.211 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.6881, allocations: 1.101 MB / 1.212 GB, free: 12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6881, allocations: 4 kB / 1.212 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00182/0.6899, allocations: 1.257 MB / 1.213 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.6902, allocations: 449.1 kB / 1.214 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.6902, allocations: 12 kB / 1.214 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6902, allocations: 20 kB / 1.214 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.691, allocations: 263.5 kB / 1.214 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.691, allocations: 23.92 kB / 1.214 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.692, allocations: 190.6 kB / 1.214 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.6921, allocations: 63.98 kB / 1.214 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.68e-06/0.6921, allocations: 4 kB / 1.214 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/0.6937, allocations: 1.058 MB / 1.215 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.6937, allocations: 16 kB / 1.215 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.6937, allocations: 16.69 kB / 1.215 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.6945, allocations: 267.6 kB / 1.215 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.6945, allocations: 23.92 kB / 1.215 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.6954, allocations: 166.8 kB / 1.216 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.6955, allocations: 67.98 kB / 1.216 GB, free: 7.949 MB / 0.9669 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.0005146/0.696, allocations: 472.6 kB / 1.216 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.6962, allocations: 193.7 kB / 1.216 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.699, allocations: 1.756 MB / 1.218 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-05/0.6991, allocations: 15.98 kB / 1.218 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6991, allocations: 3.938 kB / 1.218 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002555/0.7017, allocations: 1.154 MB / 1.219 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/0.7062, allocations: 3.486 MB / 1.223 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.7063, allocations: 12 kB / 1.223 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.7069, allocations: 208.5 kB / 1.223 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.707, allocations: 8 kB / 1.223 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.707, allocations: 39.98 kB / 1.223 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.707, allocations: 27.86 kB / 1.223 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7071, allocations: 11.94 kB / 1.223 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.7098, allocations: 2.246 MB / 1.225 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.7103, allocations: 470 kB / 1.226 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.7105, allocations: 35.94 kB / 1.226 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.7114, allocations: 99.83 kB / 1.226 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.7116, allocations: 116.7 kB / 1.226 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.7117, allocations: 67.89 kB / 1.226 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001257/0.7129, allocations: 1.079 MB / 1.227 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7129, allocations: 0 / 1.227 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002243/0.7152, allocations: 1.123 MB / 1.228 GB, free: 10.99 MB / 0.9825 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.004124/0.7193, allocations: 3.484 MB / 1.231 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.7217, allocations: 1.812 MB / 1.233 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7217, allocations: 4 kB / 1.233 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.7228, allocations: 0.8312 MB / 1.234 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/0.7279, allocations: 0.9284 MB / 1.235 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.7471, allocations: 14.62 MB / 1.249 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.748, allocations: 1.44 MB / 1.251 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001657/0.7497, allocations: 0.5359 MB / 1.251 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000909/0.7506, allocations: 0.8546 MB / 1.252 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7506, allocations: 0 / 1.252 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.781/8.531, allocations: 56.81 MB / 1.307 GB, free: 189 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/8.532, allocations: 245.4 kB / 1.308 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.596/12.13, allocations: 3.938 kB / 1.308 GB, free: 188.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)