Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 90.75 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.01073/0.01073, allocations: 172.7 kB / 16.26 MB, free: 6.676 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 8.594 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3416, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.116/0.4576, allocations: 112.6 MB / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03861/0.4963, allocations: 26.39 MB / 1.21 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005051/0.5014, allocations: 103.4 kB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.5049, allocations: 0.9245 MB / 1.211 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.5153, allocations: 3.149 MB / 1.214 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/0.5215, allocations: 2.093 MB / 1.216 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.5328, allocations: 8.156 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.5362, allocations: 1.557 MB / 1.225 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005725/0.5419, allocations: 2.255 MB / 1.228 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.5451, allocations: 1.711 MB / 1.229 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.5455, allocations: 92 kB / 1.229 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005643/0.5512, allocations: 2.132 MB / 1.232 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.5517, allocations: 409.9 kB / 1.232 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.5535, allocations: 1.164 MB / 1.233 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.5599, allocations: 3.921 MB / 1.237 GB, free: 324 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5599, allocations: 3.984 kB / 1.237 GB, free: 320 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5599, allocations: 0 / 1.237 GB, free: 320 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.575e-05/0.5599, allocations: 0 / 1.237 GB, free: 320 kB / 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.005788/0.5657, allocations: 2.421 MB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.5658, allocations: 8.031 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006438/0.5665, allocations: 253.1 kB / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.5709, allocations: 2.103 MB / 1.242 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.571, allocations: 102.7 kB / 1.242 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.5713, allocations: 139.9 kB / 1.242 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.5739, allocations: 1.465 MB / 1.243 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.574, allocations: 4 kB / 1.243 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.5741, allocations: 56 kB / 1.243 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.5742, allocations: 36 kB / 1.243 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.5761, allocations: 1.033 MB / 1.244 GB, free: 8.504 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.6403/1.216, allocations: 8.132 MB / 1.252 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/1.219, allocations: 0.8332 MB / 1.253 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009032/1.219, allocations: 385.8 kB / 1.253 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/1.221, allocations: 2.808 MB / 1.256 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.221, allocations: 43.81 kB / 1.256 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.226e-06/1.221, allocations: 3.969 kB / 1.256 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.00302/1.224, allocations: 1.143 MB / 1.257 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.224, allocations: 64.81 kB / 1.257 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.227, allocations: 1.607 MB / 1.259 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.228, allocations: 45.64 kB / 1.259 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007728/1.228, allocations: 0.9281 MB / 1.26 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.229, allocations: 303.9 kB / 1.26 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.229, allocations: 93.81 kB / 1.26 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.229, allocations: 353.5 kB / 1.261 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/1.23, allocations: 325.5 kB / 1.261 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/1.231, allocations: 0.7136 MB / 1.262 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.232, allocations: 1.093 MB / 1.263 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.232, allocations: 5.719 kB / 1.263 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002239/1.235, allocations: 1.261 MB / 1.264 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/1.235, allocations: 437.3 kB / 1.264 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/1.235, allocations: 20.34 kB / 1.264 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/1.235, allocations: 18.22 kB / 1.264 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/1.236, allocations: 263.1 kB / 1.265 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.236, allocations: 28.59 kB / 1.265 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.237, allocations: 185.2 kB / 1.265 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.237, allocations: 66.69 kB / 1.265 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/1.237, allocations: 5.25 kB / 1.265 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00157/1.239, allocations: 1.052 MB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.239, allocations: 27.77 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.239, allocations: 19.69 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/1.24, allocations: 256.1 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.24, allocations: 26.52 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.241, allocations: 165.3 kB / 1.266 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/1.241, allocations: 69.7 kB / 1.266 GB, free: 168 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.0008366/1.242, allocations: 473.2 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/1.242, allocations: 191.9 kB / 1.267 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/1.245, allocations: 1.754 MB / 1.269 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/1.245, allocations: 17.75 kB / 1.269 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.245, allocations: 5.625 kB / 1.269 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/1.247, allocations: 1.161 MB / 1.27 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/1.254, allocations: 3.485 MB / 1.273 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/1.254, allocations: 11.94 kB / 1.273 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/1.255, allocations: 206.2 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/1.255, allocations: 11.62 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/1.255, allocations: 40.52 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/1.255, allocations: 16.17 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/1.255, allocations: 14.09 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/1.259, allocations: 2.246 MB / 1.276 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.26, allocations: 474 kB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/1.26, allocations: 30.23 kB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.261, allocations: 99.69 kB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/1.262, allocations: 127.8 kB / 1.277 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.262, allocations: 60.17 kB / 1.277 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001915/1.264, allocations: 1.077 MB / 1.278 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.264, allocations: 1.344 kB / 1.278 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003638/1.267, allocations: 1.123 MB / 1.279 GB, free: 162.4 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.001768/1.269, allocations: 0.7871 MB / 1.28 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003656/1.273, allocations: 1.815 MB / 1.281 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.273, allocations: 1 kB / 1.281 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.274, allocations: 0.8242 MB / 1.282 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00616/1.28, allocations: 0.9304 MB / 1.283 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/1.287, allocations: 4.475 MB / 1.287 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.288, allocations: 1.437 MB / 1.289 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002454/1.29, allocations: 0.549 MB / 1.289 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/1.291, allocations: 188 kB / 1.29 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.291, allocations: 0 / 1.29 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06681/1.357, allocations: 41.46 MB / 1.33 GB, free: 128.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)