Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009925/0.0009924, allocations: 175.7 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007236/0.0007236, allocations: 87.98 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 10.84 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.0303/0.2225, allocations: 45.41 MB / 0.9411 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.2352, allocations: 11.42 MB / 0.9522 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.2371, allocations: 51.69 kB / 0.9523 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.2389, allocations: 0.5554 MB / 0.9528 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.2443, allocations: 2.025 MB / 0.9548 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004339/0.2486, allocations: 1.314 MB / 0.9561 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02559/0.2742, allocations: 29.06 MB / 0.9844 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.2845, allocations: 7.184 MB / 0.9915 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.296, allocations: 5.469 MB / 0.9968 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.3062, allocations: 5.607 MB / 1.002 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002044/0.3083, allocations: 288 kB / 1.003 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006814/0.3151, allocations: 1.392 MB / 1.004 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.3182, allocations: 1.385 MB / 1.005 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.008561/0.3268, allocations: 3.673 MB / 1.009 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.3392, allocations: 10.13 MB / 1.019 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3393, allocations: 0 / 1.019 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.089e-06/0.3393, allocations: 0 / 1.019 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004423/0.3397, allocations: 3.938 kB / 1.019 GB, free: 6.77 MB / 0.6667 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.01557/0.3553, allocations: 6.551 MB / 1.025 GB, free: 136 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.3554, allocations: 12.03 kB / 1.025 GB, free: 124 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/0.3604, allocations: 0.8392 MB / 1.026 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.3752, allocations: 7.582 MB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.3757, allocations: 411.9 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.3772, allocations: 0.5115 MB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.3953, allocations: 7.568 MB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.3955, allocations: 23.88 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009578/0.3965, allocations: 220 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.3967, allocations: 167.8 kB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.4099, allocations: 6.075 MB / 1.048 GB, free: 8.328 MB / 0.698 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.4495/0.8595, allocations: 29.11 MB / 1.076 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/0.8652, allocations: 3.415 MB / 1.08 GB, free: 126.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.868, allocations: 1.963 MB / 1.082 GB, free: 126.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008532/0.8689, allocations: 1.002 MB / 1.083 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.869, allocations: 65.94 kB / 1.083 GB, free: 125.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 5.5e-06/0.869, allocations: 1.531 kB / 1.083 GB, free: 125.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.008072/0.8771, allocations: 4.699 MB / 1.087 GB, free: 123.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.8771, allocations: 76.91 kB / 1.087 GB, free: 123.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/0.8881, allocations: 6.019 MB / 1.093 GB, free: 120.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008042/0.889, allocations: 83.52 kB / 1.093 GB, free: 120.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.8915, allocations: 2.939 MB / 1.096 GB, free: 117.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/0.8929, allocations: 0.8963 MB / 1.097 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.8933, allocations: 285.4 kB / 1.097 GB, free: 117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.8933, allocations: 305.1 kB / 1.098 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.8955, allocations: 1.642 MB / 1.099 GB, free: 115.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.898, allocations: 2.685 MB / 1.102 GB, free: 113.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004718/0.9027, allocations: 4.596 MB / 1.106 GB, free: 110.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.9027, allocations: 16.31 kB / 1.106 GB, free: 110.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007329/0.9101, allocations: 4.962 MB / 1.111 GB, free: 106.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004178/0.9105, allocations: 1.029 MB / 1.112 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.9106, allocations: 32 kB / 1.112 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.219e-05/0.9106, allocations: 52 kB / 1.112 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.9132, allocations: 0.8109 MB / 1.113 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/0.9137, allocations: 1.254 MB / 1.114 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005116/0.9189, allocations: 0.6124 MB / 1.115 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/0.9192, allocations: 160 kB / 1.115 GB, free: 102.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.9193, allocations: 4 kB / 1.115 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005417/0.9247, allocations: 4.459 MB / 1.119 GB, free: 98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.9247, allocations: 28 kB / 1.119 GB, free: 97.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.9248, allocations: 55.94 kB / 1.12 GB, free: 97.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.927, allocations: 0.7864 MB / 1.12 GB, free: 97.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-05/0.9271, allocations: 68.88 kB / 1.12 GB, free: 97.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/0.9317, allocations: 0.5428 MB / 1.121 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/0.9322, allocations: 164 kB / 1.121 GB, free: 96.36 MB / 0.698 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.004194/0.9364, allocations: 2.497 MB / 1.123 GB, free: 93.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002024/0.9384, allocations: 0.5442 MB / 1.124 GB, free: 93.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/0.9456, allocations: 3.903 MB / 1.128 GB, free: 89.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.9457, allocations: 35.94 kB / 1.128 GB, free: 89.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.9457, allocations: 2.875 kB / 1.128 GB, free: 89.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003477/0.9492, allocations: 3.001 MB / 1.131 GB, free: 86.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.9654, allocations: 9.646 MB / 1.14 GB, free: 76.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.9655, allocations: 4 kB / 1.14 GB, free: 76.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.9676, allocations: 0.5931 MB / 1.141 GB, free: 75.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.9676, allocations: 12 kB / 1.141 GB, free: 75.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.9678, allocations: 71.95 kB / 1.141 GB, free: 75.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003754/0.9681, allocations: 1.188 MB / 1.142 GB, free: 74.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9682, allocations: 8.062 kB / 1.142 GB, free: 74.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007239/0.9754, allocations: 5.639 MB / 1.148 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003381/0.9788, allocations: 1.158 MB / 1.149 GB, free: 67.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/0.9801, allocations: 59.98 kB / 1.149 GB, free: 67.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003879/0.984, allocations: 386.6 kB / 1.149 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.9843, allocations: 153.8 kB / 1.149 GB, free: 67.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/0.9845, allocations: 131.9 kB / 1.149 GB, free: 67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005854/0.9904, allocations: 4.252 MB / 1.154 GB, free: 62.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.9904, allocations: 0 / 1.154 GB, free: 62.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008631/0.9991, allocations: 3.227 MB / 1.157 GB, free: 59.56 MB / 0.698 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.001136/1, allocations: 480.8 kB / 1.157 GB, free: 59.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007865/1.008, allocations: 6.041 MB / 1.163 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.008, allocations: 0 / 1.163 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/1.01, allocations: 1.599 MB / 1.165 GB, free: 51.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01804/1.028, allocations: 3.93 MB / 1.168 GB, free: 47.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/1.05, allocations: 16 MB / 1.184 GB, free: 31.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00365/1.054, allocations: 4.487 MB / 1.188 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/1.056, allocations: 487.2 kB / 1.189 GB, free: 26.58 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.056, allocations: 0 / 1.189 GB, free: 26.58 MB / 0.698 GB Notification: Performance of Templates: time 0.2356/1.291, allocations: 188.3 MB / 1.373 GB, free: 14.34 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)