Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 193.6 kB / 16.14 MB, free: 6.656 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.06 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.37, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04771/0.4178, allocations: 45.74 MB / 1.112 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4348, allocations: 11.59 MB / 1.123 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.4375, allocations: 59.62 kB / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.4399, allocations: 0.5633 MB / 1.124 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007893/0.4478, allocations: 2.053 MB / 1.126 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.4529, allocations: 1.367 MB / 1.127 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.03309/0.486, allocations: 29.34 MB / 1.156 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.4989, allocations: 7.516 MB / 1.163 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.5111, allocations: 5.586 MB / 1.169 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01305/0.5242, allocations: 5.919 MB / 1.175 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.003606/0.5279, allocations: 380 kB / 1.175 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008119/0.536, allocations: 1.482 MB / 1.176 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003538/0.5396, allocations: 1.576 MB / 1.178 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.008982/0.5486, allocations: 3.919 MB / 1.182 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.5651, allocations: 12.53 MB / 1.194 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5651, allocations: 4 kB / 1.194 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5652, allocations: 0 / 1.194 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004666/0.5656, allocations: 4 kB / 1.194 GB, free: 8.816 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02358/0.5892, allocations: 8.25 MB / 1.202 GB, free: 492 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.5893, allocations: 12.03 kB / 1.202 GB, free: 480 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.5949, allocations: 0.8548 MB / 1.203 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01984/0.6148, allocations: 7.798 MB / 1.211 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006101/0.6154, allocations: 419.9 kB / 1.211 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/0.6176, allocations: 0.5038 MB / 1.212 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.6391, allocations: 7.671 MB / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/0.6395, allocations: 23.78 kB / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/0.6412, allocations: 224 kB / 1.219 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.6414, allocations: 167.9 kB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.6563, allocations: 6.071 MB / 1.225 GB, free: 8.34 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.6231/1.279, allocations: 29.21 MB / 1.254 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/1.284, allocations: 3.398 MB / 1.257 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/1.287, allocations: 1.957 MB / 1.259 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009108/1.288, allocations: 0.9918 MB / 1.26 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.778e-05/1.288, allocations: 74.28 kB / 1.26 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=253): time 7.253e-06/1.288, allocations: 6.719 kB / 1.26 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=253): time 0.008971/1.297, allocations: 4.687 MB / 1.265 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/1.297, allocations: 78.03 kB / 1.265 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.308, allocations: 6.155 MB / 1.271 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005472/1.309, allocations: 83.2 kB / 1.271 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002479/1.311, allocations: 2.984 MB / 1.274 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.312, allocations: 0.9043 MB / 1.275 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009225/1.313, allocations: 0.6818 MB / 1.275 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/1.313, allocations: 305.7 kB / 1.276 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/1.316, allocations: 1.648 MB / 1.277 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/1.319, allocations: 2.675 MB / 1.28 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005976/1.325, allocations: 4.593 MB / 1.284 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-05/1.325, allocations: 8.688 kB / 1.284 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008436/1.334, allocations: 4.966 MB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/1.334, allocations: 18.28 kB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.145e-05/1.334, allocations: 35.44 kB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.677e-05/1.334, allocations: 49.75 kB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/1.337, allocations: 0.8009 MB / 1.29 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005764/1.337, allocations: 1.256 MB / 1.291 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/1.343, allocations: 0.6151 MB / 1.292 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/1.343, allocations: 159.4 kB / 1.292 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006377/1.349, allocations: 3.897 MB / 1.296 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002688/1.352, allocations: 2.672 MB / 1.298 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004984/1.357, allocations: 4.59 MB / 1.303 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.361e-05/1.357, allocations: 11.25 kB / 1.303 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.007313/1.365, allocations: 4.956 MB / 1.308 GB, free: 130 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.365, allocations: 23.39 kB / 1.308 GB, free: 130 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/1.365, allocations: 30.39 kB / 1.308 GB, free: 130 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/1.365, allocations: 49.84 kB / 1.308 GB, free: 130 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/1.367, allocations: 0.7854 MB / 1.309 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.473e-05/1.367, allocations: 72.31 kB / 1.309 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004895/1.372, allocations: 478.8 kB / 1.309 GB, free: 129.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/1.372, allocations: 158 kB / 1.309 GB, free: 129.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009682/1.373, allocations: 407 kB / 1.31 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.374, allocations: 0.5627 MB / 1.31 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/1.38, allocations: 3.909 MB / 1.314 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.38, allocations: 24.09 kB / 1.314 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.38, allocations: 0 / 1.314 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/1.383, allocations: 2.993 MB / 1.317 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.397, allocations: 9.752 MB / 1.327 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.397, allocations: 0 / 1.327 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.399, allocations: 0.5917 MB / 1.327 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/1.399, allocations: 8 kB / 1.327 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.399, allocations: 79.95 kB / 1.327 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003899/1.4, allocations: 1.188 MB / 1.328 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.4, allocations: 0 / 1.328 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006779/1.407, allocations: 5.651 MB / 1.334 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/1.409, allocations: 1.193 MB / 1.335 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007507/1.41, allocations: 61.48 kB / 1.335 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003364/1.413, allocations: 379.7 kB / 1.335 GB, free: 105.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/1.414, allocations: 155.7 kB / 1.336 GB, free: 105.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/1.414, allocations: 143.9 kB / 1.336 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005451/1.419, allocations: 4.351 MB / 1.34 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.419, allocations: 0 / 1.34 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007167/1.426, allocations: 3.241 MB / 1.343 GB, free: 97.33 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/1.428, allocations: 493.9 kB / 1.344 GB, free: 96.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008631/1.436, allocations: 6.017 MB / 1.35 GB, free: 90.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.436, allocations: 4.562 kB / 1.35 GB, free: 90.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.438, allocations: 1.584 MB / 1.351 GB, free: 89.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01972/1.458, allocations: 3.961 MB / 1.355 GB, free: 85.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.48, allocations: 16.12 MB / 1.371 GB, free: 69.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.484, allocations: 4.556 MB / 1.375 GB, free: 64.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.009107/1.493, allocations: 2.866 MB / 1.378 GB, free: 61.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/1.494, allocations: 471.2 kB / 1.378 GB, free: 61.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.494, allocations: 0 / 1.378 GB, free: 61.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.2006/1.695, allocations: 129.1 MB / 1.504 GB, free: 13.43 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)