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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.4981/0.4981, allocations: 94.69 MB / 107.2 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001168/0.001168, allocations: 178.4 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.47/1.47, allocations: 170.5 MB / 324.5 MB, free: 4.051 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 105.7 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.758e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4757, allocations: 61.51 MB / 0.5054 GB, free: 49.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.77, allocations: 436.4 MB / 0.9316 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.771, allocations: 87.75 kB / 0.9317 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.605/4.376, allocations: 0.6108 GB / 1.542 GB, free: 65.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.345e-06/4.376, allocations: 0 / 1.542 GB, free: 65.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001247/4.377, allocations: 153.2 kB / 1.543 GB, free: 65.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.02122/4.398, allocations: 4.852 MB / 1.547 GB, free: 63.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/4.399, allocations: 11.38 kB / 1.547 GB, free: 63.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/4.405, allocations: 0.7092 MB / 1.548 GB, free: 63.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08128/4.487, allocations: 28.1 MB / 1.575 GB, free: 61.74 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007999/4.488, allocations: 369.4 kB / 1.576 GB, free: 61.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003019/4.491, allocations: 452.5 kB / 1.576 GB, free: 61.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/4.516, allocations: 6.377 MB / 1.582 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/4.516, allocations: 7.312 kB / 1.582 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/4.518, allocations: 192.7 kB / 1.583 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/4.518, allocations: 109.2 kB / 1.583 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/4.531, allocations: 5.276 MB / 1.588 GB, free: 61.04 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.06137/4.593, allocations: 24.35 MB / 1.612 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006832/4.6, allocations: 2.893 MB / 1.615 GB, free: 52.17 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/4.604, allocations: 2.065 MB / 1.617 GB, free: 52.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/4.605, allocations: 1.053 MB / 1.618 GB, free: 51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/4.605, allocations: 76.69 kB / 1.618 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=270): time 9.227e-06/4.605, allocations: 2.719 kB / 1.618 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=330): time 0.05725/4.662, allocations: 16.11 MB / 1.633 GB, free: 49.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/4.663, allocations: 137.1 kB / 1.634 GB, free: 48.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/4.676, allocations: 4.966 MB / 1.638 GB, free: 47.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001204/4.677, allocations: 93.61 kB / 1.638 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003998/4.681, allocations: 2.403 MB / 1.641 GB, free: 45.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002256/4.683, allocations: 1.138 MB / 1.642 GB, free: 44.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009098/4.684, allocations: 84.53 kB / 1.642 GB, free: 44.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006069/4.685, allocations: 475.6 kB / 1.642 GB, free: 43.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/4.689, allocations: 1.872 MB / 1.644 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/4.694, allocations: 2.896 MB / 1.647 GB, free: 41.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005607/4.699, allocations: 2.465 MB / 1.649 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-05/4.7, allocations: 10.72 kB / 1.65 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01364/4.713, allocations: 5.424 MB / 1.655 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.005261/4.719, allocations: 13.84 MB / 1.668 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/4.719, allocations: 35.47 kB / 1.668 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/4.719, allocations: 51.47 kB / 1.668 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/4.724, allocations: 1.026 MB / 1.669 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/4.725, allocations: 1.243 MB / 1.671 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007099/4.732, allocations: 316.4 kB / 1.671 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/4.733, allocations: 178.2 kB / 1.671 GB, free: 22.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/4.734, allocations: 3.938 kB / 1.671 GB, free: 22.36 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.011/4.745, allocations: 4.937 MB / 1.676 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/4.745, allocations: 29.94 kB / 1.676 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.404e-05/4.745, allocations: 52.81 kB / 1.676 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/4.749, allocations: 0.978 MB / 1.677 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/4.749, allocations: 76.67 kB / 1.677 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006355/4.755, allocations: 307.9 kB / 1.677 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007977/4.756, allocations: 172.7 kB / 1.677 GB, free: 20.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (497): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001761/4.758, allocations: 351.1 kB / 1.678 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/4.76, allocations: 0.511 MB / 1.678 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009994/4.77, allocations: 4.839 MB / 1.683 GB, free: 18.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/4.77, allocations: 33.56 kB / 1.683 GB, free: 18.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/4.77, allocations: 7.516 kB / 1.683 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.184e-05/4.77, allocations: 18.62 kB / 1.683 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/4.783, allocations: 4.933 MB / 1.688 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-05/4.783, allocations: 7.703 kB / 1.688 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00407/4.787, allocations: 0.7462 MB / 1.689 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.66e-05/4.788, allocations: 12 kB / 1.689 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008006/4.788, allocations: 97.3 kB / 1.689 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/4.789, allocations: 1.179 MB / 1.69 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/4.789, allocations: 8.219 kB / 1.69 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/4.802, allocations: 6.883 MB / 1.697 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/4.806, allocations: 0.7266 MB / 1.697 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003008/4.809, allocations: 75.31 kB / 1.697 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006637/4.815, allocations: 273.3 kB / 1.698 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006775/4.816, allocations: 180.4 kB / 1.698 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009652/4.817, allocations: 144.2 kB / 1.698 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01317/4.83, allocations: 3.901 MB / 1.702 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.142e-06/4.83, allocations: 0 / 1.702 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01789/4.848, allocations: 2.598 MB / 1.704 GB, free: 396 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (pip.vol[1].dynBal.medium.T,pip.vol[2].dynBal.medium.T,pip.vol[3].dynBal.medium.T,pip.vol[4].dynBal.medium.T,pip.vol[5].dynBal.medium.T,pip.vol[6].dynBal.medium.T,pip.vol[7].dynBal.medium.T,pip.vol[8].dynBal.medium.T,pip.vol[9].dynBal.medium.T,pip.vol[10].dynBal.medium.T,pip1.vol[1].dynBal.medium.T,pip1.vol[2].dynBal.medium.T,pip1.vol[3].dynBal.medium.T,pip1.vol[4].dynBal.medium.T,pip1.vol[5].dynBal.medium.T,pip1.vol[6].dynBal.medium.T,pip1.vol[7].dynBal.medium.T,pip1.vol[8].dynBal.medium.T,pip1.vol[9].dynBal.medium.T,pip1.vol[10].dynBal.medium.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003598/4.852, allocations: 0.7457 MB / 1.705 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01868/4.871, allocations: 7.177 MB / 1.712 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.266e-05/4.871, allocations: 5.75 kB / 1.712 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005478/4.876, allocations: 2.059 MB / 1.714 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02353/4.9, allocations: 3.612 MB / 1.718 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4515/5.351, allocations: 11.24 MB / 1.729 GB, free: 69.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004516/5.356, allocations: 4.046 MB / 1.733 GB, free: 69.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01737/5.373, allocations: 5.024 MB / 1.737 GB, free: 68.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/5.375, allocations: 348.9 kB / 1.738 GB, free: 68.98 MB / 0.5573 GB Notification: Performance of SimCode: time 1.943e-06/5.375, allocations: 0 / 1.738 GB, free: 68.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.2209/5.596, allocations: 123.5 MB / 1.858 GB, free: 44.34 MB / 0.5573 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)