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.6783/0.6783, allocations: 94.78 MB / 102.2 MB, free: 10.13 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.001187/0.001187, allocations: 178.6 kB / 125.6 MB, free: 11.87 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.555/1.555, allocations: 170.6 MB / 319.4 MB, free: 9.262 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.001657/0.001657, allocations: 105.6 kB / 381.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.325e-05, allocations: 4 kB / 449.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1659, allocations: 61.52 MB / 0.4987 GB, free: 4.113 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.668/1.834, allocations: 435.8 MB / 0.9242 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/1.834, allocations: 87.62 kB / 0.9243 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.719/4.553, allocations: 0.6067 GB / 1.531 GB, free: 60.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.455e-06/4.553, allocations: 0 / 1.531 GB, free: 60.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001514/4.555, allocations: 161.4 kB / 1.531 GB, free: 60.3 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.02655/4.581, allocations: 4.851 MB / 1.536 GB, free: 58.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.178e-05/4.581, allocations: 9.125 kB / 1.536 GB, free: 58.76 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007171/4.588, allocations: 0.7104 MB / 1.537 GB, free: 58.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06556/4.654, allocations: 28.01 MB / 1.564 GB, free: 56.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006066/4.655, allocations: 216.8 kB / 1.564 GB, free: 56.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/4.657, allocations: 274.1 kB / 1.564 GB, free: 56.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01762/4.675, allocations: 4.977 MB / 1.569 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/4.699, allocations: 5.73 MB / 1.575 GB, free: 56.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003487/4.699, allocations: 5.625 kB / 1.575 GB, free: 56.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00269/4.702, allocations: 14.47 kB / 1.575 GB, free: 56.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/4.702, allocations: 108.3 kB / 1.575 GB, free: 56.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.05329/4.755, allocations: 23.78 MB / 1.598 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005723/4.761, allocations: 2.793 MB / 1.601 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003807/4.765, allocations: 1.964 MB / 1.603 GB, free: 46.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/4.766, allocations: 1.058 MB / 1.604 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/4.766, allocations: 72.11 kB / 1.604 GB, free: 45.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=268): time 6.011e-06/4.766, allocations: 0 / 1.604 GB, free: 45.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=328): time 0.02496/4.791, allocations: 9.663 MB / 1.613 GB, free: 44.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/4.791, allocations: 143.1 kB / 1.614 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008192/4.8, allocations: 3.608 MB / 1.617 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006914/4.8, allocations: 29.52 kB / 1.617 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002535/4.803, allocations: 2.431 MB / 1.619 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/4.805, allocations: 1.102 MB / 1.621 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004882/4.805, allocations: 0 / 1.621 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004716/4.806, allocations: 467.7 kB / 1.621 GB, free: 41.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/4.809, allocations: 1.8 MB / 1.623 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003759/4.812, allocations: 2.789 MB / 1.625 GB, free: 40.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/4.818, allocations: 2.529 MB / 1.628 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.356e-05/4.818, allocations: 7.938 kB / 1.628 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01101/4.829, allocations: 5.117 MB / 1.633 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00554/4.834, allocations: 13.14 MB / 1.646 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/4.834, allocations: 33.69 kB / 1.646 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/4.835, allocations: 53.06 kB / 1.646 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005606/4.84, allocations: 1.028 MB / 1.647 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/4.842, allocations: 1.272 MB / 1.648 GB, free: 25.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006801/4.849, allocations: 235.3 kB / 1.648 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/4.85, allocations: 173.2 kB / 1.648 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/4.85, allocations: 5.844 kB / 1.648 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/4.863, allocations: 4.613 MB / 1.653 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/4.863, allocations: 33.16 kB / 1.653 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/4.864, allocations: 58.89 kB / 1.653 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/4.868, allocations: 0.9743 MB / 1.654 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/4.868, allocations: 66.64 kB / 1.654 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005832/4.874, allocations: 233.1 kB / 1.654 GB, free: 25.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009092/4.875, allocations: 169.6 kB / 1.654 GB, free: 25.17 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.001925/4.877, allocations: 218 kB / 1.655 GB, free: 25.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/4.879, allocations: 432.3 kB / 1.655 GB, free: 24.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/4.89, allocations: 4.347 MB / 1.659 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/4.89, allocations: 35.33 kB / 1.659 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/4.89, allocations: 2.125 kB / 1.659 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/4.89, allocations: 14.67 kB / 1.659 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/4.903, allocations: 4.35 MB / 1.664 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/4.903, allocations: 0 / 1.664 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003803/4.907, allocations: 0.753 MB / 1.664 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.587e-05/4.907, allocations: 18.73 kB / 1.664 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005514/4.907, allocations: 51.08 kB / 1.664 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/4.908, allocations: 1.218 MB / 1.666 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/4.908, allocations: 1.812 kB / 1.666 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/4.921, allocations: 6.743 MB / 1.672 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004457/4.926, allocations: 0.6057 MB / 1.673 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002491/4.928, allocations: 19.77 kB / 1.673 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00583/4.934, allocations: 221.1 kB / 1.673 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/4.935, allocations: 183.5 kB / 1.673 GB, free: 19.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007198/4.935, allocations: 141.1 kB / 1.673 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006853/4.942, allocations: 2.756 MB / 1.676 GB, free: 18.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/4.942, allocations: 0 / 1.676 GB, free: 18.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01473/4.957, allocations: 2.357 MB / 1.678 GB, free: 18.29 MB / 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.003424/4.96, allocations: 0.6824 MB / 1.679 GB, free: 18.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01388/4.974, allocations: 6.815 MB / 1.686 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/4.974, allocations: 9.875 kB / 1.686 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003783/4.978, allocations: 1.988 MB / 1.688 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02031/4.999, allocations: 2.892 MB / 1.69 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/5.026, allocations: 10.76 MB / 1.701 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006557/5.032, allocations: 4.036 MB / 1.705 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01952/5.052, allocations: 4.457 MB / 1.709 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002968/5.055, allocations: 324.7 kB / 1.71 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/5.055, allocations: 0 / 1.71 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of Templates: time 0.6688/5.724, allocations: 99.83 MB / 1.807 GB, free: 58.01 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)