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.5491/0.5491, allocations: 95.61 MB / 110.6 MB, free: 9.184 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.001625/0.001625, allocations: 169.4 kB / 134.2 MB, free: 2.164 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.59/1.59, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001873/0.001873, allocations: 115.3 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 61.52 MB / 0.512 GB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/1.461, allocations: 436.5 MB / 0.9383 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/1.461, allocations: 93.09 kB / 0.9383 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.256/3.717, allocations: 0.6119 GB / 1.55 GB, free: 54.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.896e-06/3.717, allocations: 0 / 1.55 GB, free: 54.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001361/3.719, allocations: 159.1 kB / 1.55 GB, free: 54.06 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.03075/3.749, allocations: 5.804 MB / 1.556 GB, free: 53.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/3.75, allocations: 13.23 kB / 1.556 GB, free: 53.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008088/3.758, allocations: 0.7162 MB / 1.557 GB, free: 52.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08164/3.839, allocations: 28.24 MB / 1.584 GB, free: 51.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/3.84, allocations: 366.8 kB / 1.585 GB, free: 51.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00425/3.845, allocations: 452.7 kB / 1.585 GB, free: 51.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/3.874, allocations: 6.482 MB / 1.591 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005195/3.875, allocations: 7.031 kB / 1.591 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003162/3.878, allocations: 200.2 kB / 1.592 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/3.878, allocations: 108.4 kB / 1.592 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/3.894, allocations: 5.424 MB / 1.597 GB, free: 50.45 MB / 0.5417 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.0577/3.951, allocations: 24.36 MB / 1.621 GB, free: 41.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/3.958, allocations: 2.968 MB / 1.624 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/3.96, allocations: 1.056 MB / 1.625 GB, free: 40.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/3.96, allocations: 72.25 kB / 1.625 GB, free: 40.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=270): time 8.205e-06/3.96, allocations: 0 / 1.625 GB, free: 40.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=330): time 0.05959/4.019, allocations: 17.72 MB / 1.642 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/4.019, allocations: 140.9 kB / 1.642 GB, free: 38.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/4.034, allocations: 5.015 MB / 1.647 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001282/4.035, allocations: 93.39 kB / 1.647 GB, free: 38.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004312/4.039, allocations: 2.401 MB / 1.65 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002802/4.042, allocations: 1.147 MB / 1.651 GB, free: 36.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009973/4.043, allocations: 81.28 kB / 1.651 GB, free: 36.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005457/4.044, allocations: 472.2 kB / 1.651 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004757/4.048, allocations: 1.928 MB / 1.653 GB, free: 36.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005479/4.054, allocations: 2.943 MB / 1.656 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/4.059, allocations: 2.511 MB / 1.658 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/4.059, allocations: 12.62 kB / 1.658 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01459/4.074, allocations: 5.533 MB / 1.664 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.007461/4.081, allocations: 13.84 MB / 1.677 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/4.082, allocations: 29.44 kB / 1.677 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/4.082, allocations: 56.91 kB / 1.677 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005841/4.088, allocations: 1.024 MB / 1.678 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/4.089, allocations: 1.243 MB / 1.68 GB, free: 35.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007716/4.097, allocations: 302.5 kB / 1.68 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/4.098, allocations: 174.5 kB / 1.68 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/4.098, allocations: 5.406 kB / 1.68 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01246/4.11, allocations: 5.054 MB / 1.685 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/4.111, allocations: 28 kB / 1.685 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.418e-05/4.111, allocations: 53.06 kB / 1.685 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/4.115, allocations: 0.9802 MB / 1.686 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/4.115, allocations: 78.69 kB / 1.686 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007243/4.123, allocations: 308.2 kB / 1.686 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/4.124, allocations: 173.6 kB / 1.687 GB, free: 34.95 MB / 0.5573 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 () * Number of clocked 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.007521/4.132, allocations: 2.177 MB / 1.689 GB, free: 34.56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003086/4.135, allocations: 0.5102 MB / 1.689 GB, free: 34.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/4.149, allocations: 4.942 MB / 1.694 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/4.149, allocations: 31.44 kB / 1.694 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/4.149, allocations: 7 kB / 1.694 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.746e-05/4.149, allocations: 17.17 kB / 1.694 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/4.165, allocations: 4.943 MB / 1.699 GB, free: 30.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.307e-05/4.166, allocations: 0 / 1.699 GB, free: 30.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004727/4.17, allocations: 0.7605 MB / 1.7 GB, free: 30.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.542e-05/4.17, allocations: 12.03 kB / 1.7 GB, free: 30.55 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009936/4.171, allocations: 88.64 kB / 1.7 GB, free: 30.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/4.172, allocations: 1.181 MB / 1.701 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/4.172, allocations: 5.75 kB / 1.701 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/4.188, allocations: 7.017 MB / 1.708 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004512/4.193, allocations: 0.7313 MB / 1.709 GB, free: 26.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004245/4.197, allocations: 77 kB / 1.709 GB, free: 26.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007939/4.205, allocations: 273.6 kB / 1.709 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001251/4.207, allocations: 183.7 kB / 1.709 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001253/4.208, allocations: 147.5 kB / 1.709 GB, free: 25.99 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01042/4.218, allocations: 3.947 MB / 1.713 GB, free: 24.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/4.218, allocations: 0 / 1.713 GB, free: 24.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01776/4.236, allocations: 2.603 MB / 1.716 GB, free: 24.4 MB / 0.5573 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 () * Number of clocked 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.00304/4.239, allocations: 0.7385 MB / 1.716 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01565/4.255, allocations: 7.161 MB / 1.723 GB, free: 21.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/4.255, allocations: 5.688 kB / 1.723 GB, free: 21.97 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004482/4.26, allocations: 2.111 MB / 1.725 GB, free: 21.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02041/4.28, allocations: 3.608 MB / 1.729 GB, free: 19.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/4.313, allocations: 14.56 MB / 1.743 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00741/4.32, allocations: 4.037 MB / 1.747 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01578/4.336, allocations: 3.292 MB / 1.75 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002753/4.339, allocations: 458.8 kB / 1.751 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of SimCode: time 1.664e-06/4.339, allocations: 0 / 1.751 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of Templates: time 0.5815/4.92, allocations: 121.1 MB / 1.869 GB, free: 44.58 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)